Headhunter is vicious

Thanks to @Mr_Berg in another thread, I figured out what my “sliding” problem was…

It was actually a do-nothing condition, I only ran to the teleporter if the enemy was closer than the nearest coin but there was no “coin” to compare if the closest coin was further away than some set distance. (I implemented the solution from that thread and Yeah!!)

Problem code looks like:

if enemy and item and “enemy closer than item” then use teleporter
elseif item then get item
//else the coins aren’t getting any closer so stand there like a/an <insert expression of choice here>

One might get lucky and a coin spawn close enough before the ogres pound the snot out of you…(but don’t count on it.)