Thread: AI and Spells
View Single Post
  #2  
Old March 26th, 2008, 03:42 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: AI and Spells

On combat, the AI compares how effective various spells would be (how many creatures they would affect, how much damage they would deal, total). There's also some kind of priority modifier that makes some spells more likely to be cast. I don't know if that modifier is calculated automatically for new spells. I have no idea how the AI chooses ritual spells.

If ritual spells also use some kind of priority mechanic that makes AI favour some of them, it wouldn't be that hard to make the AI prefer good summons instead of crappy ones, avoid summoning Harvesters of Sorrows etc. It'd be a lot of work to go through all the spells, of course, so it could be that this wouldn't happen even if we had the capability.
Reply With Quote