Pandemonium Purger
Posts: 1298
Joined: Wednesday, 11th April 2012, 02:42
Location: Sydney, Australia
'Autokite'
1) If nothing is within reach of your wielded weapon, wait a turn
2) If boolean 'waiting_to_strike' is false, back one step away in a direction that puts you adjacent to no monsters (and put a preference on diagonals, so you automatically pillar dance) and set 'waiting_to_strike' to true
3) If boolean 'waiting_to_strike' is true, make an attack on the slowest monster within reach and set 'waiting_to_strike' to false
The onus is still on the player to use it in the correct situation, but all the tedium has been taken out for you.
(Possibly this can be coded in a lua script?)