diff --git a/src/game/WorldHandlers/SpellAuras.cpp b/src/game/WorldHandlers/SpellAuras.cpp index 179e8098..d3507a11 100644 --- a/src/game/WorldHandlers/SpellAuras.cpp +++ b/src/game/WorldHandlers/SpellAuras.cpp @@ -4754,9 +4754,11 @@ void Aura::PeriodicTick() target->HandleEmoteCommand(EMOTE_ONESHOT_EAT); } - // Setting the rage decay rate to the value of the spell/aura. Currently only works on players. + // Anger Management + // amount = 1+ 16 = 17 = 3,4*5 = 10,2*5/3 + // so 17 is rounded amount for 5 sec tick grow ~ 1 range grow in 3 sec if (powerType == POWER_RAGE) - { target->ToPlayer()->m_rageDecayMultiplier = m_modifier.m_amount; } + { target->ModifyPower(powerType, m_modifier.m_amount * 3 / 5); } break; } // Here tick dummy auras