diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 7cba1ea40..582946a67 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -4401,13 +4401,23 @@ void Aura::HandlePeriodicEnergize(bool apply, bool Real) if (!Real) return; - m_isPeriodic = apply; + if (apply) + { + switch (GetId()) + { + case 48391: // Owlkin Frenzy 2% base mana + m_modifier.m_amount = m_target->GetCreateMana() * 2 / 100; + break; + case 57669: // Replenishment (0.25% from max) + case 61782: // Infinite Replenishment + m_modifier.m_amount = m_target->GetMaxPower(POWER_MANA) * 25 / 10000; + break; + default: + break; + } + } - // Replenishment (0.25% from max) - // Infinite Replenishment - if (GetId() == 57669 || - GetId() == 61782) - m_modifier.m_amount = m_target->GetMaxPower(POWER_MANA) * 25 / 10000; + m_isPeriodic = apply; } void Aura::HandleAuraPowerBurn(bool apply, bool /*Real*/) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index e67264209..521628138 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8723" + #define REVISION_NR "8724" #endif // __REVISION_NR_H__