From 310dd3137ce74b36a022cb3dc05209f94fa3e83d Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 10 Dec 2023 19:59:02 -0300 Subject: [PATCH] =?UTF-8?q?fix(Scripts/SerpentshrineCavern):=20Leotheras?= =?UTF-8?q?=20inner=20demons=20should=20only=20=E2=80=A6=20(#17976)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Scripts/SerpentshrineCavern): Leotheras inner demons should only be seen by their summoner --- .../SerpentShrine/boss_leotheras_the_blind.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp index 540d27429..d6970de0c 100644 --- a/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp +++ b/src/server/scripts/Outland/CoilfangReservoir/SerpentShrine/boss_leotheras_the_blind.cpp @@ -272,6 +272,11 @@ struct npc_inner_demon : public ScriptedAI } } + bool CanBeSeen(Player const* player) override + { + return player && player->GetGUID() == me->GetSummonerGUID(); + } + bool CanReceiveDamage(Unit* attacker) { return attacker && attacker->GetGUID() == me->GetSummonerGUID();