Script/Spells: Solve problems with argent tournament spells

- Including cleanup in spell_generic
This commit is contained in:
Souler
2012-02-01 16:02:58 +01:00
committed by kaelima
parent 9b524b43fa
commit eef0c61bbf
4 changed files with 239 additions and 228 deletions
+4 -1
View File
@@ -775,7 +775,10 @@ uint32 Unit::DealDamage(Unit* victim, uint32 damage, CleanDamage const* cleanDam
ASSERT(he->duel);
he->SetHealth(1);
if (duel_wasMounted) // In this case victim==mount
victim->SetHealth(1);
else
he->SetHealth(1);
he->duel->opponent->CombatStopWithPets(true);
he->CombatStopWithPets(true);