Issue with Yanfly Skill Restrictions (VX Ace) - Limited Uses not working.

I have an attack that has in the note box "<limited uses: 3>" as instructed by the comments in the script.

However, despite the fact that the note box clearly states 3 uses, the game only lets me use it once per battle! After that, it says "used" and it will not let me use it again.

I have the script version: Yanfly Engine Ace - Skill Restrictions v1.02

This is my skill:

IMG_0594.jpeg

This is where the script is located:
1697650394838.png


And these are the instructions:
1697650477564.png



However, despite the obvious <limited uses: 3>, the game only lets the actor use the "Secretary Bird" skill only once per battle! Not three times.

Does anybody know what the problem could be?
how do you test that?
I know Yanfly plugins in MV can have issues if they are not positioned in the correct order in the plugins list. I don´t know if in Ace can happen the same. Also, i noticed you don´t have the core script or the battle core script, maybe downloading them and putting it over that script fixes the issue?
how do you test that?
I needed to use it during test play of my game and it became disabled after only using it once.


It is supposed to be a limited emergency move.
I remember using that in my old VXA game back in 2013. Both Warm Up and Cool Down work well. Like @Vladar458 said, maybe you put the script in wrong order or it has compatibility issue with other scripts. Why not test the script on fresh new project to see it works as intended?
I needed to use it during test play of my game
that is not enough detail.
did you start a new playtest or did you load an old savefile?
is it through random encounter or evented battle?
I loaded a save file, and the problem happened during a boss fight though an event.
I loaded a save file, and the problem happened during a boss fight though an event.
Does it have the same issue if you try using it in battle test or from a new game?
@MoltresRider

Do NOT post anything that isn't fit for a PG-13 forum.

Your screen shot has been replaced with the explicit content removed. Pleased keep content inappropriate for minor forum goers concealed.
I loaded a save file,
That gives a good chance of having loaded old data that was stored into the savefile instead of your newest data.
some scripts need to store data into the savefile, and if those scripts are changed or reconfigured or added, you are required to start a new game to load the changed data.
Same goes for certain parts of the database like current actor data.

That is why playtests should always be confirmed with a new game playtest when you encounter strange bugs.
The script itself has not changed or reconfigured. It is the same as it always has been.
The script itself has not changed or reconfigured. It is the same as it always has been.
Okay, but if you, personally, on your end, as the developer, start a new game and do that battle with that skill available, does it do the same thing?
Okay, but if you, personally, on your end, as the developer, start a new game and do that battle with that skill available, does it do the same thing?

Easier said than done. My Moltres Rider game is so big right now. 80+ hours of content and still growing. You get that skill through story roughly at 40 hours in.
Easier said than done. My Moltres Rider game is so big right now. 80+ hours of content and still growing. You get that skill through story roughly at 40 hours in.
If only you were the developer of the game so you could add a test event to the beginning that gives you the skill
Easier said than done. My Moltres Rider game is so big right now. 80+ hours of content and still growing. You get that skill through story roughly at 40 hours in.
Wow, your game is really that big?

Anyways, just make a quick new game, and try what the other user told you. Just make an event with that battle (and also give you that skill), and test it. After you can delete that event.
Easier said than done.
Doesn't matter how long yopur game is - for balancing and playtesting you have to start dozens of times from the beginning.

and now you know why there are cheat codes in professional games:
not to help the player, but to prevent the developer from wasting time for playing through their game dozens of times when they have to test something later in the game but have to start from zero for that test.

Because this will not be the last time you have to start from zero in your game
Doesn't matter how long yopur game is - for balancing and playtesting you have to start dozens of times from the beginning.

and now you know why there are cheat codes in professional games:
not to help the player, but to prevent the developer from wasting time for playing through their game dozens of times when they have to test something later in the game but have to start from zero for that test.

Because this will not be the last time you have to start from zero in your game
One other thing he could do is create a blank folder, put all his game's data and everything else in it, and then make it so that when he starts a new game, the game begins on THAT map. I've done that before with MV, but hopefully you can also do it with VX Ace? Also, you can do this in the "Database" settings, determining what map your game begins on.
There are at least three ways that I can think of to test that skill, one of which doesn't even involve starting a new game.

@SpyroFan67, giving you the benefit of the doubt on that one, because I'm not sure how copying data into a blank folder is gonna help. But I don't know things sometimes.
There are at least three ways that I can think of to test that skill, one of which doesn't even involve starting a new game.

@SpyroFan67, giving you the benefit of the doubt on that one, because I'm not sure how copying data into a blank folder is gonna help. But I don't know things sometimes.
I've done it before. Just create a blank RPG Maker project, copy Data and IMG and SE and ME and BGM into it-everything that was in the original game, then open it in RPG Maker, and set it so you begin a new game on the latest map you made. At least, that's how I've been able to do it in MV. I'm unsure whether or not you can do that in VX Ace, but you probably can.
The issue there is 1: I don't see the point. 2: That doesn't copy over things like scripts/plugins.
While that's a legitimate strat for VX Ace if you need to start over because you messed with something you shouldn't have, in this case, there's no reason, and it's adding extra steps.

Original thread: https://forums.rpgmakerweb.com/threads/issue-with-yanfly-skill-restrictions-vx-ace-limited-uses-not-working.162128/