Hello and welcome to codecombat discourse! This is a cozy forum where you can share ideas, share fan art, get assistance for code, etc! Before you proceed, we hope that you review this topic, which shows all essentials of this board! Thanks!
What are you trying to do here? Your else should be after your ifs and your second if should be an elif. I don’t get what you are trying to do in your else statement.
You need to check first if your hero can cleave, then cleave.
What are you trying to use here?
You can delete this since you already defined enemy
and this