Quantcast

Add GetDamageMultiplier(spellId) method to OvaleState.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-23 21:38:06
Author local date 2013-03-23 21:38:06 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-23 21:38:06
Committer local date 2013-03-23 21:38:06 +0000
Commit 9c2917634fafde7f3852c2c44d24405c7deee1ff
Tree f8484ed54df4ef21048259d1a01f43f39ec55f7e
Parent 88de781c1c3a16c5cdd614a7892f9762f552fec5
Add GetDamageMultiplier(spellId) method to OvaleState.

This method accounts for auras that are removed by spells that are still
in flight to their targets.  Use this method in place of the one from
OvaleAura in OvaleCondition since OvaleCondition should only reference the
current frame state.

Change the implementation in OvaleAura to not maintain the current damage
multiplier while scanning the auras and to try to account for stacking
auras.

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