*Do not trigger living bomb when target is dead. By Them

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-27 16:11:40 -05:00
parent dc1c900048
commit 75cf5b781c
+1 -1
View File
@@ -2553,7 +2553,7 @@ void AuraEffect::HandleAuraDummy(bool apply, bool Real, bool changeAmount)
// Living Bomb // Living Bomb
if(m_spellProto->SpellFamilyFlags[1] & 0x20000) if(m_spellProto->SpellFamilyFlags[1] & 0x20000)
{ {
if(caster && (GetParentAura()->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL || GetParentAura()->GetRemoveMode() == AURA_REMOVE_BY_DEATH || GetParentAura()->GetRemoveMode() == AURA_REMOVE_BY_EXPIRE)) if(caster && (GetParentAura()->GetRemoveMode() == AURA_REMOVE_BY_ENEMY_SPELL || GetParentAura()->GetRemoveMode() == AURA_REMOVE_BY_EXPIRE))
caster->CastSpell(m_target, GetAmount(), true); caster->CastSpell(m_target, GetAmount(), true);
return; return;
} }