aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 696c17fba86..e55b54996f0 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -12819,6 +12819,10 @@ void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag
case SPELL_AURA_MOD_ROOT:
if (isVictim && damage)
{
+ // Damage is dealt after proc system - lets ignore auras which wasn't updated yet
+ // to make spell not remove its own aura
+ if (i->aura->GetAuraDuration() == i->aura->GetAuraMaxDuration())
+ break;
int32 damageLeft = triggeredByAura->GetAmount();
// No damage left
if (damageLeft < damage )