*Do not trigger living bomb when target is dead. By Them
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user