RemoveSpell

Revision as of 12:21, 20 June 2008 by imported>Vswe (Added Search Terms)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Removes the specified spell from the caller's spell list. This function returns 1 if the spell is successfully removed from the caller, and 0 if the spell cannot be removed (e.g. if they don't have the spell in their spell list in the first place)

Syntax:

RemoveSpell SpellID

Examples:

RemoveSpell DisTickleBritch
If Removespell WeirdAbility == 0  ; Toggle Ability on/off
  Addspell WeirdAbility
Endif

See AlsoEdit