Method Unit:AddPctStatModifier [-] [+]
Modifies a percentage amount of a specific stat of the Unit
| UnitModifierPctType | ID |
|---|---|
| BASE_PCT | 0 |
| TOTAL_PCT | 1 |
Synopsis
Unit:AddPctStatModifier( statType, modType, value )
Arguments
number statTypeThe stat to modify.
Valid numbers: integers from 0 to 4,294,967,295.
UnitModifierPctType modTypeThe type of modifier to apply.
number valueThe value to apply to the stat.
Valid numbers: all decimal numbers.
Returns
Nothing.