Fixed periodic damage for stackable auras (Deadly Poison...). Patch by Lyall. Closes issue #1368.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-06-28 05:26:00 +02:00
parent f4531c5a58
commit 0485d99e5d
2 changed files with 15 additions and 0 deletions
@@ -45,6 +45,9 @@ class AuraEffect
int32 GetAmount() const { return m_amount; }
void SetAmount(int32 amount) { m_amount = amount; m_canBeRecalculated = false;}
int32 GetPeriodicTimer() const { return m_periodicTimer; }
void SetPeriodicTimer(int32 periodicTimer) { m_periodicTimer = periodicTimer; }
int32 CalculateAmount(Unit * caster);
void CalculatePeriodic(Unit * caster, bool create = false);
void CalculateSpellMod();