Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

[Adventurer] Wise Moves

Wise Moves

A simple mid-game level that uses hero.move()(And maybe flags) to defeat the brawler.

In this level, you have 3 different moves, each that have different uses. Here’s a quick list:
Lightning Bolt
Cost: 50 Gold
Deals 500 damage and stuns the brawler for 1 second.
Cost: 75 Gold
Spawns behind the brawler, distracting it until it is destroyed.
Cost: 100 Gold
Spawns an archer that fights the brawler.

Note: To use the moves, you’ll need sufficient gold and you’ll have to move to the specific movement stones. The specific coordinates are in the hints book.

By using those three moves, you’ll have to defeat the brawler before it reaches the human base!
The link to the level:

1 Like

Hi, I like the idea of this level, but it has an infinite loop after I put this code in:

while True:
    coin = hero.findNearestItem()
    if >= 50:
        hero.moveXY(30, 50)
    elif coin:
        hero.moveXY(coin.pos.x, coin.pos.y)

Do you know why this might have happened?

Thanks for reporting! I had a funny(and stupid) typo in my referee code that broke the level. It should be fixed. :slight_smile:

1 Like

Stepping on the spots doesn’t seem to do anything.

You need to move to the exact coordinates. It’s in the hints.

Trust me, I did. I will try again anyway.