From 5384413b04ae5910d3f1ca609060e33ff846a50c Mon Sep 17 00:00:00 2001 From: win32 Date: Fri, 18 Dec 2009 11:25:53 +0200 Subject: replace hack code from spell 48391 --HG-- branch : trunk --- src/game/SpellAuras.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 7f54d5ad294..4757e03a24b 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1642,8 +1642,8 @@ void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool change else if (m_spellProto->Id == 29166 && GetAuraName() == SPELL_AURA_PERIODIC_ENERGIZE) m_amount = m_target->GetCreatePowers(POWER_MANA) * m_amount / (GetTotalTicks() * 100.0f); // Owlkin Frenzy - else if (m_spellProto->Id == 48391) - m_amount = m_target->GetCreatePowers(POWER_MANA) * 2 / 100; + else if (m_spellProto->Id == 48391 && GetAuraName() == SPELL_AURA_PERIODIC_ENERGIZE) + m_amount = m_target->GetCreatePowers(POWER_MANA) * m_amount / 100.0f; // Thorns else if (m_spellProto->SpellFamilyFlags[0] & 0x100 && GetAuraName() == SPELL_AURA_DAMAGE_SHIELD) // 3.3% from sp bonus -- cgit v1.2.3