diff options
| author | Shauren <shauren.trinity@gmail.com> | 2016-07-01 20:26:49 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2016-07-01 20:39:38 +0200 |
| commit | ef396877ae68e6f71638b1da961a295131feb8da (patch) | |
| tree | 99d64e83d3badd413a38038a919c65de7ff7db42 /src/server/scripts | |
| parent | d8969f39fb65de2e6b3b5dbd6d9c45aa98904481 (diff) | |
Core/Spells: Fixed spell range check
Closes #17060
(cherry picked from commit e6a52d4aae9e8facc46c3b05e0560d540a928d73)
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp index b87c836c2a4..84ee5cd97db 100644 --- a/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp +++ b/src/server/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp @@ -298,7 +298,7 @@ public: if (Blind_Timer <= diff) { std::list<Unit*> targets; - SelectTargetList(targets, 5, SELECT_TARGET_RANDOM, me->GetMeleeReach()*5, true); + SelectTargetList(targets, 5, SELECT_TARGET_RANDOM, me->GetCombatReach()*5, true); for (std::list<Unit*>::const_iterator i = targets.begin(); i != targets.end(); ++i) if (!me->IsWithinMeleeRange(*i)) { |
