[12721] Fixed comment

* reverted little change for last commit (forgot to save before commiting)
This commit is contained in:
sanctum32 2013-11-17 09:15:53 +02:00 committed by Antz
parent 69cb04b8a8
commit 88e0b63682
3 changed files with 3 additions and 3 deletions

View file

@ -8429,7 +8429,7 @@ void Aura::PeriodicDummyTick()
return;
// Search SPELL_AURA_MOD_POWER_REGEN aura for this spell and add bonus
if (Aura* aura = GetHolder()->GetAuraByEffectIndex(SpellEffectIndex(GetEffIndex(EFFECT_INDEX_0))))
if (Aura* aura = GetHolder()->GetAuraByEffectIndex(SpellEffectIndex(GetEffIndex()-1)))
{
aura->GetModifier()->m_amount = m_modifier.m_amount;
((Player*)target)->UpdateManaRegen();