Quantcast

Fix buff conditions by checking that an aura is active.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-04-25 20:56:04
Author local date 2014-04-25 20:56:04 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-04-25 20:56:04
Committer local date 2014-04-25 20:56:04 +0000
Commit 83ea9a372b00e3504188fcce8422ec4f3377a9cf
Tree 1fda494eb3cbc28f64e6b4c8800e5e91204a220a
Parent b9783ac34b5b84c1eeed2cd08f0903f2b4b89cca
Fix buff conditions by checking that an aura is active.

Active auras have their properties returned with a time span of (0, inf)
and inactive auras fall through to the default value of zero.

This partly backs out r1252 and re-implements using broader time spans to
avoid problems with comparisons.

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