From a959942d82bec352c9b37d9f068c619f71bd77e6 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Mon, 27 Mar 2023 03:43:38 -0300 Subject: [PATCH] =?UTF-8?q?fix(Scripts/IcecrownCitadel):=20Sindragosa=20sh?= =?UTF-8?q?ouldn't=20kill=20everything=20on=E2=80=A6=20(#15602)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Scripts/IcecrownCitadel): Sindragosa shouldn't kill everything on evade --- .../scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp index c8374e34f..bce65ffa0 100644 --- a/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp +++ b/src/server/scripts/Northrend/IcecrownCitadel/boss_sindragosa.cpp @@ -371,14 +371,6 @@ public: void EnterEvadeMode(EvadeReason why) override { - if (!me->HasUnitFlag(UNIT_FLAG_NON_ATTACKABLE)) // this flag is removed after she lands and can be engaged - { - const Map::PlayerList& pl = me->GetMap()->GetPlayers(); - for (Map::PlayerList::const_iterator itr = pl.begin(); itr != pl.end(); ++itr) - if (Player* p = itr->GetSource()) - if (p->IsAlive() && !p->IsGameMaster() && p->GetExactDist(&SindragosaLandPos) < 200.0f && !p->IsImmunedToDamageOrSchool(SPELL_SCHOOL_MASK_ALL)) - Unit::Kill(me, p); - } me->DisableRotate(false); me->SetControlled(false, UNIT_STATE_ROOT); BossAI::EnterEvadeMode(why);