1
0
EQ2Emu/docs/lua_functions/GetWardAmountLeft.md

427 B

Function: GetWardAmountLeft(spell)

Description: Get the ward value amount left on the spell.

Parameters:

  • spell (Spell) - Spell object representing spell.

Returns: UInt32 amount left on the ward.

Example:

-- From Spells/Priest/Shaman/EidolicWard.lua
function remove(Caster, Target)
    local heal = GetWardAmountLeft(Target)
    SpellHeal("Heal", heal, heal)
    RemoveWard(Caster)
end