hectorgimenez / koolo

Diablo II Resurrected bot written in Go
MIT License
64 stars 34 forks source link

Reduced characters from doing a "leeroy jenkins" in chaos sanctuary #284

Closed SoundsLegit closed 3 weeks ago

SoundsLegit commented 1 month ago

Added a MoveToCoordsWithMinDistance function that allows to move to coordinates but not force continue if the character is within a certain minimum distance (which I set to 20). This allows the character to stop and fight the elite packs in chaos sanctuary instead of doing a leeroy jenkins into them.

SoundsLegit commented 1 month ago

This branch needs more work, currently the character does no longer stupidly run into groups, but it sometimes fails to open seals.