Core/AI: updated SpellTargetSelector::operator() (#17824 follow-up)

(cherry picked from commit 805637cea1)
This commit is contained in:
ariel-
2016-09-05 15:39:30 -03:00
committed by joschiwald
parent 4957a17cb1
commit 945bbbfa77

View File

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