Quantcast

Change OvaleSpellBook:IsUsableSpell() to allow checking unlearned spells.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-04-21 05:01:32
Author local date 2014-04-21 05:01:32 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-04-21 05:01:32
Committer local date 2014-04-21 05:01:32 +0000
Commit 528c64b1d049e8453f52b67cdd11f8c288fe43fc
Tree 149aace24d04bc74813ad8be70285307624645ec
Parent c6d05e9ca3773cc52c34ff692fa23ba90c95255f
Change OvaleSpellBook:IsUsableSpell() to allow checking unlearned spells.

Not every spell that is cast is in the spellbook, e.g., spells due to
procs.  Also, fudge the output slightly by checking value of
IsSpellOverlayed() in case the ID of the spell being checked has changed
due to a proc.

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