diff options
author | megamage <none@none> | 2009-03-23 20:11:45 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-23 20:11:45 -0600 |
commit | dcb08352e7420b6a1277dfa5de359d2f19651cd9 (patch) | |
tree | e1f0efdecf70e8fafa23cc8e35e5bbf527305eea | |
parent | 04b27302b0bde197bd78f84ba77f0736a48f152f (diff) |
*Do not set applyaura to be "real" when set stack amount.
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellAuras.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; } |