No categories assigned

LUA:GetSpellTriggerCount

Revision as of 20:49, 17 March 2014 by Thefoof (talk | contribs) (Created page with "= LUA Functions: GetSpellTriggerCount() = Returns the number of triggers remaining on a spell. ==== Syntax ==== GetSpellTriggerCount() ==== Parameters ==== ''None'' ==== Usa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.