Struct: FinalDamageData
- Namespace:
Global - Assembly:
Dew.Core.dll
csharp
public struct FinalDamageDataFields
| Name | Declaration | Description |
|---|---|---|
amount | public float amount | |
attackEffectStrength | public float attackEffectStrength | |
attackEffectType | public AttackEffectType attackEffectType | |
attributes | public DamageAttribute attributes | |
direction | public Vector3? direction | |
discardedAmount | public float discardedAmount | |
elemental | public ElementalType? elemental | |
overrideElementalStacks | public int? overrideElementalStacks | |
procCoefficient | public float procCoefficient | |
type | public DamageData.SourceType type |
Properties
| Name | Declaration | Description |
|---|---|---|
canMerge | public bool canMerge { get; } |
Methods
HasAttr(DamageAttribute)
Does this damage has specific attribute?
csharp
public bool HasAttr(DamageAttribute attr)Parameters:
| Name | Type | Description |
|---|---|---|
attr | DamageAttribute |
Returns: bool