aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 93fc0e66dcf..182d661fdde 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -519,8 +519,8 @@ void Unit::RemoveSpellbyDamageTaken(uint32 damage, uint32 spell)
{
uint32 removedAuras = m_removedAuras.size();
RemoveAura(aur);
- if (removedAuras+1<m_ccAuras.size())
- iter=m_interruptableAuras.begin();
+ if (removedAuras+1<m_removedAuras.size())
+ iter=m_ccAuras.begin();
}
}
}
@@ -5613,6 +5613,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Leader of the Pack
case 24932:
{
+ if (triggerAmount <= 0)
+ return false;
basepoints0 = triggerAmount * GetMaxHealth() / 100;
target = this;
triggered_spell_id = 34299;