Rare Enemies that Flee

So I'm making "rare" enemies. They have the same stats as their regular counterparts, except have a guaranteed drop rate for a rare item, and attempt to flee at the end of the turn. So here's how I want it to work.

Enemies will use the "escape" skill, which looks like this. Because the speed is set to -1, it should always go last (I guess unless the player uses a skill that is set to lower than -1?)
1659711476319.png


Will this work as I intend? No EXP or item drops will occur if the enemy escapes right? I will make this the only thing the enemy does.
yes, the skill will work that way - but it also depends on how you want to use the skill.
you can either place it into the enemy action pattern - in which case it would depend on the enemy AGI and the action order when it would be used.
or you can use force action on a troop event - which has other limitations and options.
If I put it in the enemy action pattern - as the only action there - shouldn't it always trigger?
Yep, I think it should be fine~

Just a note: the order of action is decided by adding the action's speed to the user's AGI. If you want this skill to be slower than everything else, regardless of relative AGI values, consider setting speed to -2000 (minimum value permitted in the editor).
If I put it in the enemy action pattern - as the only action there - shouldn't it always trigger?
if it is the only action, then yes - but I never said that it should be the only action.

for example if you have three attack skills at rate 5 and the escape skill at rate 3, then the escape skill will be used 10% of the time, and the other three skills 30% each.
that way it would be random how long the enemy would remain until it escapes, and the combination of ratings would change the percentage chance the skill is used per round.

Original thread: https://forums.rpgmakerweb.com/threads/rare-enemies-that-flee.150120/