Jump to content

[fix][8724] Owlkin Frenzy


Guest KiriX

Recommended Posts

What bug does the patch fix? What features does the patch add?

Fix mana restore by Owlkin Frenzy.

For which repository revision was the patch created?

8658

Who has been writing this patch?

Me

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index e0db4c2..c296256 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -4378,6 +4378,9 @@ void Aura::HandlePeriodicEnergize(bool apply, bool Real)
    if (GetId() == 57669 ||
        GetId() == 61782)
        m_modifier.m_amount = m_target->GetMaxPower(POWER_MANA) * 25 / 10000;
+		
+	if (GetId() == 48391)
+		m_modifier.m_amount = m_target->GetCreateMana() * 2 / 100;
}

void Aura::HandleAuraPowerBurn(bool apply, bool /*Real*/)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use