aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2010-12-05 20:43:09 +0100
committerQAston <none@none>2010-12-05 20:43:09 +0100
commit7db1b39224c14eafde1f0d5a9426e76e4f034233 (patch)
tree5c497947f50ccdfe4936cd41b012af5d6ac3a934 /src/server/game/Spells/Spell.cpp
parent6fe19b5a863dd1109700c8a28dad22a8c3b7526c (diff)
Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem.
--HG-- branch : trunk
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rwxr-xr-xsrc/server/game/Spells/Spell.cpp13
1 files changed, 0 insertions, 13 deletions
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<Unit *>::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;
}
}