I have looked up guids and help but i can’t find how to fix my character not moving
while True:
enemyIndex = 0
enemies = hero.findEnemies()
while enemyIndex < 6:
enemy = enemies[enemyIndex]
if enemy.type == "shaman":
while enemy.health > 0:
hero.attack(enemy)
enemyIndex += 1
Im probably missing an obvious thing but i can’t see it