Maybe because I’m inexperienced with code lingo but I can’t understand what it’s saying…maybe actually using complete sentences in an explanation to someone who is learning would make sense…doesn’t do that though…just seems like gibberish, but also as many times as I looked at the example and copied exactly, the code does not work. Something’s off and there’s just not any decent explanation from the game as to why.
Level is Mayhem of Munchkins and here’s what I have:
Inside a while-true loop, use findNearestEnemy() and attack!
e = hero.findNearestEnemy
Fix code explanation just says:
Line 4: attack’s argument target should have type unit, but got function. Target a Unit.
WTF DOES THAT EVEN MEAN!?!?