fix(Scripts/ObsidianSanctum): Drakes no longer bind during Sartharion fight (#25490)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Andrew
2026-04-17 07:27:32 -03:00
committed by GitHub
parent 97dfd7116b
commit 6f473690ee
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
--
UPDATE `creature_template` SET `flags_extra` = `flags_extra` & ~0x1
WHERE `entry` IN (30449, 30451, 30452, 31520, 31534, 31535);

View File

@@ -845,7 +845,10 @@ struct boss_sartharion_dragonAI : public BossAI
}
if (!isCalledBySartharion)
{
ClearInstance();
me->GetMap()->ToInstanceMap()->PermBindAllPlayers();
}
else
{
if (Creature* sartharion = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_SARTHARION)))