mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +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.
|
// 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
|
void DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType /*type*/, SpellSchoolMask /*school*/) override
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user