# Ask the healer for help when you're under one-half health.
while True:
currentHealth = hero.health
healingThreshold = hero.maxHealth / 2
# If your current health is less than the threshold,
# move to the healing point and say, "heal me".
# Otherwise, attack. You'll need to fight hard!
if hero.health < 153:
hero.moveXY(65, 48)
hero.say("Heal me")
else:
enemy = hero.findNearestEnemy()
hero.findNearestEnemy()
hero.attack(enemy)
my hero seems to not want to move and attack enemys any suggestions?