So my problem is that i can’t get enough gold in time. Those robots pass through me and then I cant catch up. I have sword of forgotten but it takes quite some time to kill them.
while True:
coin = hero.findNearest(hero.findItems())
# While a coin exists:
while coin:
# Move to the coin.
hero.moveXY(coin.pos.x, coin.pos.y)
# Reassign the coin variable to the nearest item.
coin = hero.findNearestItem()
pass
enemy = hero.findNearestEnemy()
if enemy and enemy.health > 0:
# While enemy's health is greater than 0.
hero.attack(enemy)
pass
Could you say your codecombat email (even with facebook it should be), I will search your username by the email. You could send it with the direct message or to team@codecombat.com.
I suppose it’s not only sword problem, because I easily pass this level with that sword.
@Satisfy I think, I found the problem with that sword. The sword of Forgotten is too heavy and can push enemies back, it breaks all level logic. I made robots heavier. It should help.