Plz help
I can’t play without equipting a sword?
here’s my code
# You'll need good strategy to win this one!
# Your clone will have the same equipment you have!
# But, they're not very skilled at using special powers.
while True:
enemy = hero.findNearestEnemy()
flag = hero.findFlag("green")
if enemy:
if self.isReady("bash"):
hero.bash(enemy)
hero.attack(enemy)
hero.attack(enemy)
hero.shield()
hero.cast("chain-lightning", enemy)
enemy3 = hero.findNearestEnemy()
hero.attack(enemy3)
hero.moveXY(50, 68)
hero.moveXY(44, 61)
hero.moveXY(50, 68)