Need help with Arrowproof Wolf

Need help with Arrowproof Wolf please help me :smile:

Please post your code! Using the </>. For example:

while True:
    enemy = hero.findNearestEnemy()
    if enemy:
        hero.attack(enemy)

We would love to help you but can you please post your code or explain what’s the problem :smile:

ok @Naimaa1 i will post my code

1 Like
while True:
    
    hero.moveXY(12, 34)
    hero.say("get up")
    # Next collect mushrooms just usual items.
    hero.moveXY(56, 23)
    hero.moveXY(26, 27)
    hero.moveXY(23, 48)
    hero.moveXY(23, 35)
    hero.moveXY(48, 45)
    hero.moveXY(59, 30)
    hero.moveXY(30, 40)
    hero.moveXY(30, 46)
    hero.moveXY(33, 33)

1 Like

The problem is you didn’t format your code correctly. To fix this put four spaces for everything except

While True:

Do you mean like this

hero.moveXY(12, 34)
hero.say("get up")
while True:
        # Next collect mushrooms just usual items.
    hero.moveXY(56, 23)
    hero.moveXY(26, 27)
    hero.moveXY(23, 48)
    hero.moveXY(23, 35)
    hero.moveXY(48, 45)
    hero.moveXY(59, 30)
    hero.moveXY(30, 40)
    hero.moveXY(30, 46)
    hero.moveXY(33, 33)

Your code should be formated like this: 56%20PM

Not like this:
46%20PM