One of my custom factions has a unit with Fire immunity, but the AI still keeps attacking it with fire attacks, even when there are several other units in my army.... I can understand that the AI is programmed to gang up on a certain unit, but it is quite silly that this means that it passes up the opportunity to damage other units by attacking a unit that is guaranteed to take no damage.