Quantcast

Attempt to fix ticket #191 - "Other" condition not working as expected.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-20 05:00:42
Author local date 2013-03-20 05:00:42 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-20 05:00:42
Committer local date 2013-03-20 05:00:42 +0000
Commit 12e71097e9c1eac1687e8d8ab29eb228636a4c68
Tree 17eb6ff1addb314efaf626d529c01ef10c8a3d1d
Parent 51d8c11a2a8cbd96ba623333ee8575bd258d8ce0
Attempt to fix ticket #191 - "Other" condition not working as expected.

Change GetExpirationTimeOnAnyTarget() methods in OvaleAura and OvaleState
into a new method GetAuraOnAnyTarget().  It returns a time interval
similar to the GetAura() methods and takes similar arguments as well.

Use the new method in OvaleCondition and change semantics of the private
method getOtherAura() to return the same results as GetAuraOnAnyTarget().

Change Other*() conditions to use the return value from getOtherAura()
properly.

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