Quantcast

Use the correct spell cost when determining usability of a spell.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-04-12 16:20:10
Author local date 2014-04-12 16:20:10 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-04-12 16:20:10
Committer local date 2014-04-12 16:20:10 +0000
Commit 84caed44ff6e4bc9177e9205a183232b34023c84
Tree aa3afc215c3f5ca34e166b3753c726e479ffa448
Parent f62ce5fe93f81cd9d43c2feb6024d67c037d00a9
Use the correct spell cost when determining usability of a spell.

The cost defined in SpellInfo may be adjusted downward based on other
parameters, and we should use the adjusted value, not the raw value, when
checking whether the spell is able to be cast or not.

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