mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-07 01:18:55 +01:00
*Do not set applyaura to be "real" when set stack amount.
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user