No categories assigned

LUA:RemoveTriggerFromSpell

LUA Functions: RemoveTriggerFromSpell()

Removes one or more triggers from a spell.


Syntax

RemoveTriggerFromSpell(param1)


Parameters

Optional - param1 (int16)
param1' the amount of triggers to remove from this spell, defaults to 1 if not set


Usage

function cast(Caster, Target)
    RemoveTriggerFromSpell()
end

This will remove one trigger from a spell if used in a spellscript.