*Move kill-target part from DealDamage to a new function Kill.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-05 23:31:45 -06:00
parent 8c24dd2031
commit e8f1bbc999
3 changed files with 156 additions and 182 deletions
+1 -1
View File
@@ -5344,7 +5344,7 @@ void Aura::HandleSpiritOfRedemption( bool apply, bool Real )
}
// die at aura end
else
m_target->DealDamage(m_target, m_target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, GetSpellProto(), false);
m_target->setDeathState(JUST_DIED);
}
void Aura::CleanupTriggeredSpells()