I can’t pass this level, but I don’t want to change gear. Is that possible?
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.
enemyIndex = 0
enemies = hero.findEnemies()
def totalEnemies():
return
while True:
enemy = enemies[enemyIndex]
if enemy and enemy.type != "sand-yak" or "snow-yak":
if hero.isReady("bash"):
hero.bash(enemy)
else:
hero.attack(enemy)
enemyIndex += 1
Yeah, and I’ve already said something about finding millions of cheats in CodeCombat, but I think you just revealed you found a bug by posting anyway.Everyone knows you found a bug, but none of the bugs I found have been changed. I don’t think it’ll be changed, like in 5 secs or a day. What I mean is, it won’t be changed anytime soon so point them out anyway.