Play Home Contribute GitHub Join Us Discourse Staff Members GitHub Contribution Guides Team

Help with getting more armor!


i am at Level 17 in ( Backwoods Forest - munchkin harvest)
my code is correct, but i am still failing because i do not have enough armor. i had faced this problem in my last level, then figured that i can swith swords and get through. in this i am not able to fix the problem and not able to get enough armor. can someone please help me with getting enough armor.
Here is my code-
loop {
var enemy = this.findNearestEnemy();
if (this.isReady(“power-up”)){
else {




Please format your code as it says in the FAQ for the sake of the people reading it.


thank you. will do that.


Can you edit your post and format it please?