diff options
author | win32 <none@none> | 2009-12-18 11:25:53 +0200 |
---|---|---|
committer | win32 <none@none> | 2009-12-18 11:25:53 +0200 |
commit | 5384413b04ae5910d3f1ca609060e33ff846a50c (patch) | |
tree | 01770dc8b0217a257cff0ba16a8b5798e7aa3f2d | |
parent | 2200023a90eb363ed3069a9b11e20d275cb863fa (diff) |
replace hack code from spell 48391
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |