Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve keep distance while attacking #645

Closed
wants to merge 1 commit into from

Conversation

elobo91
Copy link
Contributor

@elobo91 elobo91 commented Jan 26, 2025

EnsureEnemyIsInRange:
Allow precise close movements if distanceToMove < DistanceToFinishMoving ( wich is 4) but only if distanceToMove >= 2 . Otherwise overshoot like before to avoid micro movements. Way less telestomp.

Also changed cleanup of checkMonsterDamage to prevent possible memory leak.

EnsureEnemyIsInRange:
Allow precise close movements if distanceToMove < DistanceToFinishMoving ( wich is 4)   but only if distanceToMove >= 2 .   Otherwise overshoot like before to avoid micro movements.  Way less telestomp.

Also changed cleanup of checkMonsterDamage  to prevent possible memory leak.
@elobo91 elobo91 closed this Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant