Frogboy, is something like this feasible?
Can you make it so if an AI unit is attacking a unit, and they can attack another unit that has a high damage/defense ratio (maybe 0 defense would count as 1 defense to avoid dividing by zero) for whatever damage/defense it has to certain parts of the AI unit's attack (in other words, they do lots of damage and they are relatively squishy) OR there is a high-damage unit that is very low HP, and the attacking can get to that unit on the same turn, to disengage from the stronger unit and attack the squishy one?
Currently, if you can get a strong unit next to all the melee monsters, you can protect other units NOT adjacent to any monsters from getting attacked any more. What would be a fabulous and welcome AI improvement would be to have the melee unit disengage the strong unit to attack the weak one, PROVIDED it can disengage from the stronger unit and attack the squishy unit on the same turn.
It would also be a good idea to take into account dodge values too. Given similar damage/defense ratios or low HP status, the AI should attack the one with lowest dodge value.
This may also be related to the way tanks and archers effectiveness issue.
And special rules for elemental resistance:
Also, can you make it so that if a sole unit has 95% or more fire resistance, the AI never targets that unit with a fire breath attack (dragons), Embers (fire creatures) or single square fire breath attack (Ignys), and spell-casting creatures (like Shrill Lords and Wildland bosses) don't use area spells that the majority of the army (or the sole unit, in case of a one champion army) is 95% or more immune to?