Class AbilityStatChange
A native CHANGE_STAT action. Negative HP values heal; ordinary weapon damage leaves both flat values null and uses the granting item's roll.
public sealed class AbilityStatChange : AbilityEffect
- Inheritance
-
AbilityStatChange
- Inherited Members
Constructors
AbilityStatChange(ItemStat, AbilityDamageType, bool, bool, int?, int?)
Creates a native stat-change effect.
public AbilityStatChange(ItemStat stat, AbilityDamageType damageType, bool isBlockable, bool isSilent = false, int? flatValue = null, int? flatPercent = null)
Parameters
statItemStatdamageTypeAbilityDamageTypeisBlockableboolisSilentboolflatValueint?flatPercentint?
Remarks
Leave both flat values null for ordinary weapon damage driven by the granting item's skill roll. Negative HP values heal.
Properties
DamageType
public AbilityDamageType DamageType { get; }
Property Value
FlatPercent
public int? FlatPercent { get; }
Property Value
- int?
FlatValue
public int? FlatValue { get; }
Property Value
- int?
IsBlockable
public bool IsBlockable { get; }
Property Value
IsSilent
public bool IsSilent { get; }
Property Value
Kind
public override AbilityEffectKind Kind { get; }
Property Value
Stat
public ItemStat Stat { get; }