I’ve collect one gem:
code:
catapult = hero.findNearest(hero.findByType('catapult'))
hero.cast("swap", catapult)
catapult = hero.findNearest(hero.findByType('catapult'))
hero.cast("chain-lightning", catapult)
catapult = hero.findNearest(hero.findByType('catapult'))
hero.cast("swap", catapult)
item = hero.findNearestItem()
hero.resetCooldown("swap")
pet.moveXY(item.pos.x, item.pos.y)
hero.cast("swap", pet)
catapult = hero.findNearest(hero.findByType('catapult'))
but I can’t move to flag with firetraps
You didn’t summon a soldier
You got it wrong
Summon soldier in the beginning
command it to move to the fire traps (cruel, but works)
then swap to the catapult
move somewhere so the catapults won’t kill you
then the swap cooldown should be ready (don’t reset it)
then, swap to the pet
and then, collect gems
Check my previous message
Don’t cast chain-lightning right?
Check this one
Build the soldier in the beginning. The first line
And complete all the steps in the same order
So summon the soldier when the game starts
Nice, after you swapped pet don’t swap the catapult. Just use flags to collect gems
Congratulations, @Jason_king_lin! 
1 Like
Thanks, Last level “Ace of coders”
1 Like
@PeterPalov what are your strategies in Backwoods forest?
In Dueling grounds?
We are also getting off topic here, so maybe you can PM me or make a separate topic for this (like, discussions for multiplayer arenas)
I think there was such topic, but I’m not sure
Wait a sec, could you just use the treasure chest pet here?