Soooo… this was something the first game never did, which probably bugged everyone.
Say you have a weapon that was GREAT against shields, and awful against armor and against the hull. There were 3 targets within range.
The turret AI would take into account a whole bunch of stats, but totally ignore relative effectiveness, until it had built up enough ‘ineffective shots’ memory for that target.
The new AI takes relative effectiveness into account (balanced against everything else)
So if it has 150% damage vs armor, 75% shields, 25% hull, and there are two targets that are the same in all other respects (within range, both of a class we want to engage, within firing arc, no other overwhelming factors etc), then the weapon will open fire at the one whose shields are down but still has armor.
I’m coding it now, and it will no doubt need a lot of balance, but its better than not being there Hopefully it’s not too slow either!