[SOLVED] Mind the trap. Help ME!

no there are big munckinks.

image"

it’s called the “Dobo Munchkin”

thanks, i finished the level i just needed better armor

sorry but you were on signal course you were not on mind the trap thats why there is big ogres.

help here is my code
while True:
flag = hero.findFlag()
enemy = hero.findNearestEnemy()
if green:
hero.pickUpFlag(green)
elif black and hero.isReady(“cleave”):
hero.pickUpFlag(black)
# Cleave!
hero.cleave(nearest, enemy)
elif nearest and hero.distanceTo(nearest) < 10:
# Attack!
enemy = hero.findNearestEnemy()
hero.attack(enemy)
pass

Hi @Timofey_Klimenko and welcome to the discourse :partying_face: This is a friendly place where you can ask for help on levels, report bugs, or just talk with other coders. Hope you enjoy your time here.

Can you please format your code using this button

I need help this is my code

if green:
hero.pickUpFlag(green)
elif black and hero.isReady(“cleave”):
hero.pickUplag(black)
# Cleave!
hero.cleave(nearest)
elif nearest and hero.distanceTo(nearest) < 10:
# Attack!
enemy = hero.findNearestEnemy()
hero.attack(enemy)
pass

Welcome to the discourse @Aditya_Kulkarni_WV ! :partying_face: To help you, you must format your code. Here’s how to do it:

thanks Vanessa * solved it
*

2 Likes