Kelvintaph Burgler Can't read protected property: findEnemyMissiles

I copied your code and ran it. The hero never moved, so was taken out very quickly by the ‘orbs’. The tactic I used in my code was to wait for the robots to fire, determine the individual coordinates of the closest missile and then just hop up and down…in other words, detect incoming missiles, determine their trajectory and move opposite that (only changing the hero pos.y):


With that being said, in your evade function, rather than detecting distance, try determining the pos.y of the missile and then move up, or down as needed. I just moved between “x”: hero.pos.x, “y”: 10 (or 20)

Meanwhile, up top…keep all of your friends still, except for the paladin. Use him to lure the chieftan to the yak…once the yak attacks, send the paladin directly against the witch. Once both of those are dead, send him to the exit.

Then, command the remaining friends to head for the exit too.

At the same time, summon your soldiers, have them attack the nearest robot and have your hero high tail it out of there:

SUCCESS!