From dcb08352e7420b6a1277dfa5de359d2f19651cd9 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 23 Mar 2009 20:11:45 -0600 Subject: *Do not set applyaura to be "real" when set stack amount. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index ee8f2717c64..c3d4b62a4a2 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1084,9 +1084,9 @@ void Aura::SetStackAmount(uint8 stackAmount) // Reapply if amount change if (amount!=m_modifier.m_amount) { - ApplyModifier(false, true); + ApplyModifier(false); m_modifier.m_amount = amount; - ApplyModifier(true, true); + ApplyModifier(true); } } RefreshAura(); @@ -6466,11 +6466,11 @@ void Aura::PeriodicDummyTick() Aura *slow = m_target->GetAura(GetId(), 0); if (slow) { - slow->ApplyModifier(false, true); + slow->ApplyModifier(false); Modifier *mod = slow->GetModifier(); mod->m_amount+= m_modifier.m_amount; if (mod->m_amount > 0) mod->m_amount = 0; - slow->ApplyModifier(true, true); + slow->ApplyModifier(true); } return; } -- cgit v1.2.3