bump,
even more features, to make dungeon delving actually fun again! No more endless spamming of heal spells! One-click battles!
"Auto Heal" button. Click this and it will start sending heal spell requests until everyone is full or you're out of spells You get a variable called "healMargin" to tell it how close to full you want to get it. This is to prevent healing over 100% (to get the most out of your heals). I set that to 20hp as a default. Now you can just click "Auto Heal" after a big battle, and you don't have to worry so much about healing during battles (which means you end up taking down enemies faster and take less damage overall in the long run ). Healing between fights doesn't count as an action, so it makes the most of your turns, too.
"Auto Combat" toggle button, can be set to Off, Round or Full settings. If you set it to off, nothing special happens: you can click Retarget, then customize the actions for a few guys before you attack. If you set it to "Round" then every time you click Retarget, it sends the Fight command so you only have to click once per round. If you set it to Full, then the game will automatically call retarget every round and click Fight for you automatically. You might need to click Retarget just once if you turn on automation during a battle. Basically, the last setting means you only click once per battle, and the game singles out each enemy one at a time for extermination. So it's one-click optimal combat.
Just make sure you know what you're getting into with the Auto-Combat and be ready to toggle it off if things look bad ... It's great though if you have a killer party and are just grinding dungeons monsters that have no chance against you.
~~~
With this round of automation, I'm probably running out of good ideas for things to add. I got my holy grail of automatic healing working fine and actually delved a dungeon without feeling shitty!
Things to-do would basically be optimizing the existing features now - doing the terrain move-cost calculations for the auto-move, which would save turns, and speeding up the auto-heal (it sends 1 heal request at a time, then checks how much was healed, but I could send 8 heal requests at once, basically doing the server requests in parallel for each character that needs healing). Another thing I want to add is that when you have Autocombat turned on, then the "walk" feature would stop if you land in a square with monsters, so you have the opportunity to fight them.
I might also play around with another AutoCombat setting "heal" which automatically starts the healing script after each battle. I'd want to ensure that it doesn't slow down play before using that. And the autoheal should report how many heal spells are left each time (save you from having to check).