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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
}