diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-09-05 15:39:30 -0300 |
---|---|---|
committer | joschiwald <joschiwald.trinity@gmail.com> | 2017-02-26 15:30:14 +0100 |
commit | 945bbbfa77d4800bf9e6c156981d984e6d648455 (patch) | |
tree | c29e15dde50f19f10183200da0255dc31d10024d /src | |
parent | 4957a17cb14ed189235ab0767c082fa3f8af3f52 (diff) |
Core/AI: updated SpellTargetSelector::operator() (#17824 follow-up)
(cherry picked from commit 805637cea15470dac4b9417494e4d89f1c1d3239)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/CoreAI/UnitAI.cpp | 2 |
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 79c731349fb..c7f118b9a50 100644 --- a/src/server/game/AI/CoreAI/UnitAI.cpp +++ b/src/server/game/AI/CoreAI/UnitAI.cpp @@ -287,7 +287,7 @@ bool SpellTargetSelector::operator()(Unit const* target) const if (_caster->isMoving() && target->isMoving() && !_caster->IsWalking() && !target->IsWalking() && (_spellInfo->RangeEntry->Flags & SPELL_RANGE_MELEE || target->GetTypeId() == TYPEID_PLAYER)) - rangeMod += 5.0f / 3.0f; + rangeMod += 8.0f / 3.0f; } maxRange += rangeMod; |