ike3 / mangosbot

This is a modification of MaNGOS (Zero, One, R2, Trinity) server which brings a number of bots online and available for any player. Also allows you to use your account/guild characters as bots.
http://ike3.github.io/mangosbot-docs/
GNU General Public License v2.0
183 stars 78 forks source link

Melee bots cannot reach target properly #9

Closed ike3 closed 9 years ago

ike3 commented 9 years ago

Although AiPlayerbot.MeleeDistance = 2.0, bots some times stay just outside of melee distance and cannot attack the target. Seems something prevents them to reach target properly and start swinging their weapons.

ike3 commented 9 years ago

Seems this almost fixes the issue but I don't think the distance is calculated correctly

AiPlayerbot.MeleeDistance = 0.5
AiPlayerbot.FollowDistance = 0.5
dmanbob commented 9 years ago

OK thanks I'm going to try this a s well. I noticed too they were not getting close sometimes.

ike3 commented 9 years ago

Not a best fix but almost never reproduces after [ai-0.36-64]