Quantcast

Add additional phase of tracking to spellcasts: "after hit".

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-05-12 16:08:16
Author local date 2014-05-12 16:08:16 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-05-12 16:08:16
Committer local date 2014-05-12 16:08:16 +0000
Commit a24e00608bb23b3859e5bbcefe048dd0c4c41dc7
Tree 02369d680c06c2d0579e6909d1301dd60a334956
Parent b0a166c7dece4caa29c80b106b2e740ead95cacf
Add additional phase of tracking to spellcasts: "after hit".

ApplySpellAfterHit() is called after the three previous phases:

    ApplySpellStartCast
    ApplySpellAfterCast
    ApplySpellOnHit
    ApplySpellAfterHit

Apply spell auras to the target during ApplySpellAfterHit().  Only remove
a spellcast from the spells-in-flight after it has applied any auras to
the target, which can take a bit of time due to server event lag.  The
simulator will continue to apply spells until it sees their aura effects
appear on the target in reality.

Remove the previous workaround for aura lag added to OvaleAura in r1411
and r1413.

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