Help backwoods blind distance (Solved)


please help if you know how to do this level.


post your code so we can help u


here it is


Line 19. You have the hero.say a set number. Is the distance to every enemy going to be 14? This is why we use variables. That way, no matter what the distance is, the hero will say that number. Use your variables instead of fixed numbers.


how do i do that ???


For example

a = hero.findNearestEnemy().type #<- This variable will not be fixed to a certain type like "Ogre"


i don’t follow???


do you have something that says herosays() or something like that