Quantcast

Add a new SpellInfo() parameter "if_spell=SPELL"

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2012-11-30 03:07:03
Author local date 2012-11-30 03:07:03 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2012-11-30 03:07:03
Committer local date 2012-11-30 03:07:03 +0000
Commit 8d39a527f3cf3380cf8cca8f751e4ae54d2ac17e
Tree 5c1eaccfbb77d16dff204ef2fbadf89e028ad48d
Parent 857cee57f9044b71cd88717ed269016490bbc760
Add a new SpellInfo() parameter "if_spell=SPELL"

Adding "if_spell=SPELL" causes the SpellInfo() line to be ignored
if the given SPELL isn't in the player's spellbook, e.g,:

  Define(mangle 33876)
    Spellinfo(mangle combo=1 energy=35 inccounter=ripshreds)
    SpellInfo(mangle critcombo=1 if_spell=primal_fury)
  Define(primal_fury 16961)

This causes the critcombo=1 to apply only if Primal Fury is in the
spellbook (druid is at least level 30).

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@648 d5049fe3-3747-40f7-a4b5-f36d6801af5f