fix(Scripts/SerpentshrineCaverns): fix double submerge phases (#18001)

This commit is contained in:
Andrew
2023-12-12 00:27:03 -03:00
committed by GitHub
parent 13c633e4ef
commit 05ec0d09c3

View File

@@ -122,7 +122,7 @@ struct boss_the_lurker_below : public BossAI
void SummonedCreatureDies(Creature* /*summon*/, Unit* /*killer*/) override
{
if (!summons.IsAnyCreatureAlive())
if (!summons.IsAnyCreatureAlive() && me->HasUnitFlag(UNIT_FLAG_NOT_SELECTABLE))
{
SchedulerPhaseTwo(1s);
}