Something isn't right with attack priorities! Please help!

Monsters will only use the top three priority moves and will never use any move that is fourth priority or lower no matter what!


If I have a monster that has four moves, one is priority of 5; the next, 4; then after, 3; and finally 2

Monsters with this setup will never use the move that it is set to priority of 2 regardless of how long the fight is. I could have an hour long fight and the boss will never use the move with a priority of 2. I have never had one quite that long but I did have a boss fight hit the 30 minute mark without the priority of 2 ever being used. Thing is, the boss will spam the hell out of the move with a priority of 3. This prevents me from making moves that the monster will use occasionally as 3 gets spammed and 2 never gets used.

Thing is, the monsters SHOULD be using the move with a priority of 2 here:

5+4+3+2=14

2/14≈14%

A move with a 14% chance of be used SHOULD be used in a 30 minute time frame. In the PS1 version of RPG Maker, 14% meant it would be used at least five times during a boss fight. Not here, though.

If I were to change that 5 to a 6 making the moves have a priority of 6, 4, 3, 2; Then monsters will not use any move with a priority of 2 or 3. The monsters will only use the moves that are 6 and 4.

6+4+3+2=15

3/15=20%
2/15≈13%

For a boss to never use a move in a 30 minute time frame that has a 20% chance of being used is ridic.
13% for the 2 priority still should be being used.

What is the gimmick here? It seems like RPG Maker VX Ace totally does not know what percentages are. Why even have the options for 1 - 10 if RPG Maker only uses the top 3? Why not just only allow us to enter; 1, 2, or 3?

No, there HAS to be a reason why you can put a 1 to 10 range. But I have no clue how it works.

I tried looking up tutorials on enemies but none covers the details of the attack priority. All people including the YouTuber that got me started up, just said, "higher priority means used more; lower priority means used less." None actually explain what these number actually mean.

This tells me that it is incredibly simple but I am just too stupid to figure it out.

Can someone please ELI5 me how the attack priorities work?
Pay special attention to point 2. From the VX Ace help menu (press F1 in the editor):
Enemy Settings
(1) Action patterns that fulfill the conditions that were set are collected. No action is triggered if there are no action patterns that fulfill the set conditions.


(2) Out of the action patterns that fulfill the conditions, those that are within two rating points of the highest priority rating will be candidates for use.


(3) Actions 1 rating point away from the highest priority rating will be used 2/3 of the time and those 2 rating points away will be used 1/3 of the time. If there are actions with the same ratings, their probability of use will be the same.


(4) Once the candidate actions are selected and the probabilities assigned, one is selected using a random number.

Edit: Added the fourth and final step from the documentation. Between points 3 and 4 it describes some examples.
Nothing wrong here - that is an intentional function to allow for removing skills from the list dynamically.

Nijna'd, see above
Monsters will only use the top three priority moves and will never use any move that is fourth priority or lower no matter what!
You're correct, this is the default behavior. They will use the top three.

For a boss to never use a move in a 30 minute time frame that has a 20% chance of being used is ridic.
13% for the 2 priority still should be being used.

What is the gimmick here? It seems like RPG Maker VX Ace totally does not know what percentages are. Why even have the options for 1 - 10 if RPG Maker only uses the top 3? Why not just only allow us to enter; 1, 2, or 3?

No, there HAS to be a reason why you can put a 1 to 10 range. But I have no clue how it works.
This was helpful to make the change of attack pattern.
For example, priority 1-3 for no condition attack. Then priority 8-10 for if the state exists. But you wouldn't want the enemy to use the low-priority attack when, say the enemy has a certain stat buff. The chance is zero for those actions.

It is helpful to "eliminate" the unwanted action from your action lists.
No, there HAS to be a reason why you can put a 1 to 10 range. But I have no clue how it works.

I tried looking up tutorials on enemies but none covers the details of the attack priority.
It can be used in a lot of ways, including writing a controllable troop AI with events only.
Unfortunately that is a bit difficult to explain even if you know exactly how to do it - two times before I started writing a tutorial on how to event a troop-based AI that really considers what to do before giving commands to the enemy, but both times I stalled due to problems with getting screenshots and the tutorial being useless without them.

Original thread: https://forums.rpgmakerweb.com/threads/something-isnt-right-with-attack-priorities-please-help.157444/