Skip to content

Struct: FinalDamageData ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
public struct FinalDamageData

Fields ​

NameDeclarationDescription
amountpublic float amount
attackEffectStrengthpublic float attackEffectStrength
attackEffectTypepublic AttackEffectType attackEffectType
attributespublic DamageAttribute attributes
directionpublic Vector3? direction
discardedAmountpublic float discardedAmount
elementalpublic ElementalType? elemental
overrideElementalStackspublic int? overrideElementalStacks
procCoefficientpublic float procCoefficient
typepublic DamageData.SourceType type

Properties ​

NameDeclarationDescription
canMergepublic bool canMerge { get; }

Methods ​

HasAttr(DamageAttribute) ​

Does this damage has specific attribute?

csharp
public bool HasAttr(DamageAttribute attr)

Parameters:

NameTypeDescription
attrDamageAttribute

Returns: bool

Maintained by the Shape of Dreams Modding Community