Quantcast

Fix ticket 302 noting inconsistent return value for SpellCooldown().

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-10-19 17:24:31
Author local date 2013-10-19 17:24:31 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-10-19 17:24:31
Committer local date 2013-10-19 17:24:31 +0000
Commit 935ec280f7f3b0515224dfae8ebde1fe42a31450
Tree 0b07baad153072bdde1b9deb55cd3d0965102ff4
Parent 69f0d7acf63620ceb27c55062ef067f915738d8d
Fix ticket 302 noting inconsistent return value for SpellCooldown().

Modify SpellCooldown to have constant value of 0 if the spell is off of
cooldown.  This matches natural expectations for how to use this script
condition.

Make similar changes to other cooldown conditions.

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