mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 18:10:26 +00:00
fix(Scripts/UBRS): Set Gyth's encounter state on death (#9189)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user