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

This commit is contained in:
ariel- authored and Aokromes committed 2016-09-05 20:44:53 +02:00
1 parent d866976561
commit 1b1e23e8bf
1 file changed
+1 -1
+1 -1
View File
@@ -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;