From e538d42f1217ebfc36eff4b4235482b97317dade Mon Sep 17 00:00:00 2001 From: Aokromes Date: Sat, 15 Aug 2020 11:10:47 +0200 Subject: Script/Quest: The Light of Dawn (#25243) remove incorrect check, source: https://www.wowhead.com/spell=53606/the-light-of-dawn Flags Can be used while dead https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=1495830 https://www.wowhead.com/quest=12801/the-light-of-dawn#comments:id=374127 (cherry picked from commit 681c738c61cdf64728fcd86d7598666ab2fd8199) --- src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts') diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp index 7f5b17d183b..00d6b58788c 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp @@ -1278,7 +1278,7 @@ public: if (!PlayerList.isEmpty()) { for (Map::PlayerList::const_iterator i = PlayerList.begin(); i != PlayerList.end(); ++i) - if (i->GetSource()->IsAlive() && me->IsWithinDistInMap(i->GetSource(), 50)) + if (me->IsWithinDistInMap(i->GetSource(), 500)) i->GetSource()->CastSpell(i->GetSource(), SPELL_THE_LIGHT_OF_DAWN_Q, false); } } -- cgit v1.2.3