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 statType

The stat to modify.

Valid numbers: integers from 0 to 4,294,967,295.

UnitModifierPctType modType

The type of modifier to apply.

number value

The value to apply to the stat.

Valid numbers: all decimal numbers.

Returns

Nothing.

Generated on
© 2010 - 2024 Eluna Lua Engine