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

This commit is contained in:
ariel-
2016-09-05 15:39:30 -03:00
committed by Aokromes
parent d866976561
commit 1b1e23e8bf

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;