fix(Scripts/UBRS): Set Gyth's encounter state on death (#9189)

This commit is contained in:
Skjalf
2021-11-14 13:30:48 -03:00
committed by GitHub
parent ec8f95f133
commit 12faaaad18

View File

@@ -94,7 +94,10 @@ public:
}
// Prevent clearing summon list, otherwise Rend despawns if the drake is killed first.
void JustDied(Unit* /*killer*/) override { }
void JustDied(Unit* /*killer*/) override
{
instance->SetBossState(DATA_GYTH, DONE);
}
void DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType /*type*/, SpellSchoolMask /*school*/) override
{