No categories assigned

LUA:GetSpellTriggerCount

LUA Functions: GetSpellTriggerCount()

Returns the number of triggers remaining on a spell.


Syntax

GetSpellTriggerCount()


Parameters

None

Usage

function cast(Caster, Target)
    local triggers = GetSpellTriggerCount()
    Say(Caster, triggers)
end

The caster of this spell will say the number of how many triggers are left in for this spell.