[1.2] [AI issue] AI uses abilities against immune targets


I've noticed this in several games across several different versions.  The AI consistently uses spells against Ophidians, lightning attacks against Crow Demons, and fire attacks against fire elementals.  The AI both ignores units that it could damage with those attacks in order to target the immune units and neglects to use other attacks that could damage the unit.

 

This problem is easily replicated by attacking a stack of air shrills with a young crow demon.  The air shrills will spam static blast against the unit as it flies around and pokes them to death with a stick.  However, this problem only exists in tactical combat; if one clicks auto-resolve either the air shrills suddenly remember that they have other attacks, or the auto-resolve algorithm ignores immunities. 

3,038 views 1 replies
Reply #1 Top

Yeah I noticed this as well... This is my mod to address this issue, it is not fully complete, but it will stop a lot of attacks that happened before. I have more immunities to consider and add to the file before it is complete.

https://dl.dropboxusercontent.com/u/75549875/Fallen%20Enchantress/AI%20Fixes/AI%20Spell/AIandImmunitiesv0_5.zip

I made this mod when I fought with an ophidian and the 5 Air Shrills failed to kill my level 1 ophidian and level 3 champion (who was horribly weak at the time)