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 681c738c61)
This commit is contained in:
Aokromes
2020-08-15 11:10:47 +02:00
committed by Shauren
parent 7f9986a8a8
commit e538d42f12

View File

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