Computer AI and Autocasting
I have a ship with a long cooldown charge-up AoE attack. The ability itself works fine. I can use it. However, I've been making an effort to make the AI use it only when the ship is presumably in a significant engagement (it's wasted on small targets). It's based on cleansing radiance or something like that, I think. It's a beam with AoE.
aiUseTime "OnlyInCombat"
aiUseTargetCondition "Any"
isAutoCastAvailable TRUE
isAutoCastOnByDefault TRUE
pickRandomPlanetToExploreForAutoCastTarget FALSE
ignoreNonCombatShipsForAutoCastTarget TRUE
onlyAutoCastWhenDamageTakenExceedsPerc 0.500000
useCostType "AntiMatter"
With these settings, presumably the ship will only autocast when the unit is below 50% health. Except the ship can be wittled down by enemy battlecruisers and completely killed or dragged into massive battles, and I've never once seen the AI use the ability despite full anti-matter availability.
Can anyone offer any insight to getting the AI to use this ability properly?