Fix error with using Mind Blast in default priest script.
Fix error with using Mind Blast in default priest script.
- Remove spurious "test" parameter to SpellInfo that shouldn't be there.
- If a condition that returns a number is used as a boolean, then boolean
evaluation rules dictate that non-zero is true and zero is false. Fix:
if SpellCooldown(mind_blast) Spell(mind_blast)
was probably intended to be:
if SpellCooldown(mind_blast) == 0 Spell(mind_blast)
which is simply just:
Spell(mind_blast)
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1133 d5049fe3-3747-40f7-a4b5-f36d6801af5f