Re: Battle AI hooks
If I look at the debug, it uses a points system to decide what to use, so a modcommand #sspellpriority that adds a fixed bonus is probably very easy as the decision making is not changed in nature. A #prioritypertarget that scales with the number of effects only slightly more complicated, I guess, since there is already some code that takes into consideration the effect a spell has.
Then the modder community can assign priorities to spells and the devs are spared the work to balance things out. Was not there a while ago a thread by Kristoffer asking which spells are used too much/too little? So there already are - hard coded - values like these, it seems.
|