aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-09-05 15:39:30 -0300
committerariel- <ariel-@users.noreply.github.com>2016-09-05 15:39:30 -0300
commit805637cea15470dac4b9417494e4d89f1c1d3239 (patch)
tree45facaf053d3a00c996f56fac6158cebcf0cb62e /src
parent932d31598d697bd6cdb4f83ec70018e789984948 (diff)
Core/AI: updated SpellTargetSelector::operator() (#17824 follow-up)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/CoreAI/UnitAI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/CoreAI/UnitAI.cpp b/src/server/game/AI/CoreAI/UnitAI.cpp
index 037d9e59cf2..fbb79426bb8 100644
--- a/src/server/game/AI/CoreAI/UnitAI.cpp
+++ b/src/server/game/AI/CoreAI/UnitAI.cpp
@@ -306,7 +306,7 @@ bool SpellTargetSelector::operator()(Unit const* target) const
if (_caster->isMoving() && target->isMoving() && !_caster->IsWalking() && !target->IsWalking() &&
(_spellInfo->RangeEntry->type & SPELL_RANGE_MELEE || target->GetTypeId() == TYPEID_PLAYER))
- rangeMod += 5.0f / 3.0f;
+ rangeMod += 8.0f / 3.0f;
}
maxRange += rangeMod;