No categories assigned

LUA:GetWardAmountLeft

LUA Functions: GetWardAmountLeft()

Gets the amount left on the ward

Syntax

GetWardAmountLeft()


Usage

function remove(Caster, Target)
    local heal = GetWardAmountLeft()
    RemoveWard()
    if heal > 0 then
        SpellHeal("Heal", heal)
    end
end

When this spell fades it will take the remaining amount of the ward and turn it into a heal

Notes

Can only be used in spell scripts