Quantcast

Another fix for buff conditions.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-04-27 04:39:39
Author local date 2014-04-27 04:39:39 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-04-27 04:39:39
Committer local date 2014-04-27 04:39:39 +0000
Commit a3e869e4122dfe40113e3559e5ed276201f19661
Tree 2ce043b4e309cbf1fa0b6f3114f7801761d359f0
Parent cbdf1a69513e042bcd4a735921dc7f56165b78d9
Another fix for buff conditions.

Back out r1321 and partially re-implement r1252 by giving the results of
those conditions a time span that starts when the buff starts and lasting
to infinity.

This fixes uses of buff conditions for buffs that are applied in the
future, e.g., a spell applies a DoT at end of spellcast and something
like:

    if target.DebuffRemains(dot) < 3 Spell(spell_that_applies_dot)

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