Hello, i was wondering if this was a problem with my code, i have been doing some research on this and apparently this was supposed to have been fixed along time ago so i doubt its something to do with my code. Been stuck on this for about an hour. # Use your new “cleave” skill as often as you can.
enemy = self.findNearestEnemy()
# Cleave the enemy!
# Else (if cleave isn’t ready), do your normal attack.
this is my code exactly and it runs till about halfway through then says its null and gets stuck on “self.attack(enemy)”
anyone know a solution? thanks! https://gyazo.com/98b1bcd5ec40dbb69be6e6f4ab2b9e5e