Quantcast

Fix ticket 304 - Buff tracking bugged.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-10-24 05:40:38
Author local date 2013-10-24 05:40:38 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-10-24 05:40:38
Committer local date 2013-10-24 05:40:38 +0000
Commit 727c817945e32a1aebffe2e37df97d4087c7753a
Tree 0b0980587f9d07c417be9370c9595305029e30fc
Parent ee055544220f84681b7f1770b24b3d547f7f24f3
Fix ticket 304 - Buff tracking bugged.

OvaleAura was missed in the code sweep to use time spans in r1045.

OvaleAura was using nil to represent infinity in auras for both duration
and expiration time.  This caused OvaleCondition to consider these auras
as invalid because OvaleCondition is much more strict now when checking
the start and ending times for auras.  Use math.huge (the correct value to
represent infinity for time spans) instead.

This bug only appeared when the aura has "infinite" duration, or no
expiration time.

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