You are viewing an old version of this page. Return to the latest version.
No categories assigned
LUA:AddToWard
- Last edited 4 years ago by Vlash Nytefall
LUA Functions: AddToWard()
Adds the given amount to the ward
Syntax
AddToWard(param1)
Parameters
- Required - param1 (int32)
- param1 is the amount to add
Usage
function tick(Caster, Target)
AddToWard(5)
end
This will add 5 more points of damage absorb to the ward every tick
Notes
Must be in a spell script
This won't do anything if the spell script hasn't used AddWard at some point before the call to this function.
You can not go over the base amount given by the param in AddWard