From 7db1b39224c14eafde1f0d5a9426e76e4f034233 Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 5 Dec 2010 20:43:09 +0100 Subject: Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem. --HG-- branch : trunk --- src/server/game/Spells/Spell.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/server/game/Spells/Spell.cpp') diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index e105da7ca4d..1ae359f38fa 100755 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -2745,19 +2745,6 @@ void Spell::SelectEffectTargets(uint32 i, uint32 cur) unitList.sort(Trinity::PowerPctOrderPred((Powers)power)); unitList.resize(maxSize); } - - // Replenishment: refresh existing auras - if (m_spellInfo->Id == 57669) - for (std::list::iterator itr = unitList.begin(); itr != unitList.end();) - if (AuraEffect *aurEff = (*itr)->GetAuraEffect(SPELL_AURA_PERIODIC_ENERGIZE, SPELLFAMILY_GENERIC, 3184, EFFECT_0)) - { - aurEff->SetAmount((*itr)->GetMaxPower(POWER_MANA) * 25 / 10000); - aurEff->GetBase()->RefreshDuration(); - - itr = unitList.erase(itr); - } - else - ++itr; } } -- cgit v1.2.3