aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2020-08-15 11:10:47 +0200
committerGitHub <noreply@github.com>2020-08-15 11:10:47 +0200
commit681c738c61cdf64728fcd86d7598666ab2fd8199 (patch)
tree49dec6c594218e8106aa6b41977f08e06d824044
parentee6d6426fa4680ffe3604a6edaa284056b18a5c2 (diff)
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
-rw-r--r--src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp
index 18e9237af6e..dd26fc7db3c 100644
--- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp
+++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter5.cpp
@@ -1277,7 +1277,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);
}
}