Each ship should be assigned an slider from 0 to 99 called opportunism (OP), wich would be set up the same way as “fighter/frigate/cruiser” priority. High value would mean that the ship tends to prioritize soft targets over hard targets
Each ship should be assigned a tankiness rating
tankiness = Defensive Modules Value/ Total Ship Value
or NumberOfDefModules/TotalNumber of modules
And priority should be, for any target type
PR = PR * (1-tankiness/ (OP%))
Rght now it’s too easy to build a few tank ships with only armor, who will soak the damage for your DPS ships.