Method Unit:HandleStatModifier [-] [+]
The Unit modifies a specific stat
@return bool : Whether the stat modification was successful
Synopsis
Unit:HandleStatModifier( stat, type, value )
Unit:HandleStatModifier( stat, type, value, apply )
Arguments
number statThe stat to modify.
Valid numbers: integers from -2,147,483,647 to 2,147,483,647.
number typeThe type of modifier to apply.
Valid numbers: integers from -127 to 127.
number valueThe value to apply to the stat.
Valid numbers: all decimal numbers.
boolean apply (false)Whether the modifier should be applied or removed.
Returns
Nothing.