Optional
gainOptional
gainWhen a human "gains" stat (ie from skill use), if this method is defined, it will be called.
Whether the stat was truly gained
Note: When implementing this, it is recommended to use
The human that "gains" stat
The amount to gain. This will usually be 1. You should respect this if possible.
Optional
getWhen a human performs an action that has a chance of raising a stat, the chance is 1 / getGainChanceOffset()
When getGainChanceOffset
is not implemented, the stat max will be used instead.
When the stat is not an IStatMax
, the current value will be used instead.
Generated using TypeDoc
A multiplier for stat gain