That's why I think that enemy AI should have in-combat memory.
Is target common fire immune creature?
If not, attack with fire.
No damage, target immune?
If target has no elemental buffs, don't attack same target with fire.
If it has elemental buffs, don't attack with fire, but monitor when buff expires.
Buff expires? Try again attack with fire (if no better option available)
Ha, I wouldn't assume so much. I'd sooner guess that information like elemental immunity simply isn't communicated to the AI decision making system, and that implementing such a thing would take up a non-negligible amount of time.
Larian, please implement AI that recognizes elemental immunities when choosing targets!
Thats would be great!!!