[Adventurer] Arrowproof Wolf

Chase only works for cougar pet.

1 Like

Played this level pretty good!

1 Like

First, come to the wolf pet and wake up it (say).

it’s mean use hero.say(" “) Not mean pet.say(”")

aha…i’m chinese

2 Likes

i’ve got some troubles in python my hero keeps dying … can anyone help :

First, come to the wolf pet and wake up it (say).

hero.moveXY(12,34)
hero.say(“Hello wolfie!”)

Next collect mushrooms just usual items.

while True:
arrow = pet.findNearestByType(“arrow”)
if arrow:
pet.moveXY(hero.pos.x, hero.pos.y)
pet.catch(arrow)
item = hero.findNearestItem()
if item:
hero.move(item.pos)

Well, you have to let us help you. Format your code correctly please.

press the </> thing on the toolbar.
type or paste code here will now look like:

type or paste code here
hero.moveXY(12,34)
hero.say("Hello wolfie!")
# Next collect mushrooms just usual items.
while True:
    arrow = pet.findNearestByType("arrow")
    if arrow:
        pet.moveXY(hero.pos.x, hero.pos.y)
        pet.catch(arrow)
    item = hero.findNearestItem()
    if item:
        hero.move(item.pos)

You don’t need to tell your pet to catch arrows your pet automatically catches arrows when it’s near you. The rest of your code is right.

i’ve tried it withouth any code for the pet except the waking up que … but still

i’ve tried it like this:`
and my hero still dies …

# First, come to the wolf pet and wake up it (say).
hero.moveXY(12,34)
hero.say("Hello wolfie!")
# Next collect mushrooms just usual items.
while True:
    item = hero.findNearestItem()
    if item:
        hero.move(item.pos)
`

Your code’s right it’s something to do with your equipment, send a screenshot of your inventory. You might not have the Move boots on or you might not have enough health to survive. :thinking:

yup it was the boots :blush: … heh … thank you kindly sir

My pleasure :grin: (20 chars)

Mod edit:[Please don’t post successful solutions.]

I enjoyed this level. It was fun.

pay attention, it should be hero.say() instead of pet.say()

It still no work
I have dragon armour but it just doesn’t recognize the first mushroom
it just stands in front of the woken up wolf
plz help
I copied exactly

Hmm, maybe you should write your own… It might actually be more likely to work.
Why not post your old code, along with a screenshot of the level screen and of your equipment, and I’m sure we can figure it out. Make sure you format your code. Read this topic for instructions:

Thanks
Danny

2 Likes

I finally got it. I had to have the “if” outside of the “while True” 's line

Thanks for helping me

Please remove the correct solution so others won’t copy your code.
Lydia