Quantcast

Fix ticket 256 - DebuffAttackPower not updating properly on refresh

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-07-13 20:58:59
Author local date 2013-07-13 20:58:59 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-07-13 20:58:59
Committer local date 2013-07-13 20:58:59 +0000
Commit 1fa64e2a2af2f7d6bb676a8e2bad5fff50124b7c
Tree 85062ec81fedfc3ba9b3724927e75caca0a49484
Parent 05658f1897ea01d06b486a45f8ddbbaf7874ed46
Fix ticket 256 - DebuffAttackPower not updating properly on refresh

Determining whether an aura needs a fresh snapshot requires some state to
be kept.  In this case, we track the most recent spell cast by the player
that preceded the aura being applied.  If that spell is one that doesn't
trigger a new snapshot of the aura, then don't snapshot; but snapshot
otherwise.

Currently doesn't deal with DoTs that are spread by other spells, e.g.,
Inferno Blast and Soul Swap.

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