I’m using Hattori with 856 health. My code is below…
while True:
enemy = hero.findNearestEnemy()
if enemy and hero.distanceTo(enemy) < 10:
x = hero.pos.x - 10
y = hero.pos.y
else:
x = hero.pos.x + 10
y = hero.pos.y
hero.moveXY(x, y)
At the end, my hero can’t properly dodge the Sand Yak.
I have used the same code above, and am left with -25 health.