mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 22:49:39 -04:00
Script/Spells: Solve problems with argent tournament spells
- Including cleanup in spell_generic
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user