The example they give is horrible, and honestly not how it works. If you read through the script, what you will see is that the system will only consider actions that are 2 ratings below the highest rating one. So for instance, if you set it up to read:
Attack Rating 2
Cast Fireball, Rating 4
Guard, Rating 1
Guard will never happen, as it is 3 below the highest rating (as 4 - 1 > 2). However, with those numbers, what the system will do is it will add up the ratings for attack and fireball (4 + 2) and then roll a random number between 1 and the sum, and pick an action based on that. As for how it picks the action, not totally sure, but I think it would pick attack if it rolled a 1 or 2, and fireball if it rolled a 3 - 6 with those examples.
How I usually use it is I leave everything between 4 - 6 (since the default is 5 anyways), and if I want an enemy to always do a certain action on a turn, I set that rating to 10. So if I want an enemy to always case Armageddon on turn 10, I would set the rating of the Armageddon spell to 10, and the action to only occur on turn 10 + 0*X. Since all my others are 6 or less, they will not even be considered, since 10 - 6 > 2.
That's as much as I can type now as I'm heading out the door to work.
Ah, this is interesting. So if you have five abilities rated 5, 5, 6, 6, and 7, then all five will be used with almost the same frequency (5/29, 5/29, 6/29, 6/29, 7/29), if I'm understanding your explanation correctly?
This would definitely explain why abilities that I expected to be used "about half the time" in a large set were used far less by enemies than I was hoping.
I have also noticed, through some testing, that changing an item's place in the actions list
seems to have some effect on its use by enemies. Specifically, the higher the place in the list, the more bias is given to that action. Has anyone else seen this phenomenon?
BTW, I'm almost sure I've seen items with 3 below the highest (conditions-met) rated action get used rarely. For example, if Attack is rated 4 and there's an item rated 7 that's in the mix, Attack still gets used very rarely. I'll pay more attention in the future and see whether this really is happening. I've never seen an action that's 4 below the highest-rated action get picked, though.