aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellAuras.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index a775ccdd3f8..64e8887fd15 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -5935,7 +5935,9 @@ void Aura::PeriodicDummyTick()
// on 1 tick - 166% (handled in 4 second)
// on 2 tick - 133% (handled in 6 second)
// Not need update after 3 tick
- /*
+ BattleGround *bg = ((Player*)m_target)->GetBattleGround();
+ if(!bg || !bg->isArena())
+ return;
if (tick > 3)
return;
// Apply bonus for 0 - 3 tick
@@ -5955,7 +5957,7 @@ void Aura::PeriodicDummyTick()
break;
}
((Player*)m_target)->UpdateManaRegen();
- return;*/
+ return;
}
}
return;