Quantcast

Fix for ticket 156.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2012-09-14 22:40:09
Author local date 2012-09-14 22:40:09 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2012-09-14 22:40:09
Committer local date 2012-09-14 22:40:09 +0000
Commit ef236e9930daf5b7c0f83a4d5287e8fed7bc544c
Tree e76ee3b0f21a7599c4d7f621a7b47c2dd4c35f3b
Parent b734e779c07f4a3d50e7b727462fb8aa4bb28c36
Fix for ticket 156.

Modify ParseFunction() to check for Spell() and SpellCooldown() statements
in the script and check if the given spell ID is in the spellbook or not.
If it's not, then see if it matches another spell with the same name that
is in the spellbook.  If so, then add that spell ID to the OvaleData
spellbook.

Track the function nodes with unknown spell IDs in a list and tag the
unknown spell IDs with ":unknown" when invoking DebugNode().

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