A fine Mint | Backwoods forest Bug


#1

Hello,
so i have a problem which is in the World Backwoods forest and in the level “A fine Mint”.
So when i started the level i had no idea how a function works. It didn’t tell me too but what i found out is that the function which is given as an example is broken so i cant use it. If i try to run the code i get this error:

And i can’t figure out how to solve that error.
I tried to make the “attackEnemy” function myself. Here it is:

But when i try to run the code without the given one (for the coins) i get this error:

I hope someone can help me with that.

-Hubit

PS: Sorry for my bad english :3


#2

def pickupcion():
hero.findnearestItem()