Before this happened, I had a skill that used the limited uses part of Yanfly's Skill Restrictions script. After installing the Battle Command List script, the limited uses stopped working (the skill could be used however many times I wanted to, even though it was supposed to be limited to a single use through a tag). I deleted the Battle Command List script and re-downloaded the Skill Restrictions script, but the bug persists. I can't figure out why it won't work.
Yanfly's Battle Command List script seemed to break part of my game.
RGSSx Script SupportIs the particular skill accessed through the skill menu, or it is on the new command?
I've moved this thread to RGSSx Script Support. Thank you.
It's granted from an accessory, and is through the skill menu.
For convenient sake, mind to put the link to the script? I closed the script already long time ago, and it's bothersome to re-dig my history or googled it back
Anyway I read at the first glance that the battle command list (iirc) has no method that overwrite the skill restriction whatsoever. Have you tried to reposition the script placement? Like putting the skill restriction below battle command or vice versa?
Anyway I read at the first glance that the battle command list (iirc) has no method that overwrite the skill restriction whatsoever. Have you tried to reposition the script placement? Like putting the skill restriction below battle command or vice versa?
Sure.
https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/skill-restrictions/
https://yanflychannel.wordpress.com/rmvxa/battle-scripts/battle-command-list/
So moving the script down to the bottom off all my scripts got it working again. I wonder why it stopped working in the first place.
that is because the order of scripts matters.
All scripts integrate themselves into the engine by overwriting existing functions, and the farther down a script is the later that override happens.
SOME scripts take care to remain compatible even if their functions are overridden later, but that is not always technically possible.
A lot of scripts can only function together if they're in a specific order, and some scripts can't function together no matter the order because they keep overwriting each other - that is when you need a third script as compatibility patch.
Original thread: https://forums.rpgmakerweb.com/threads/yanflys-battle-command-list-script-seemed-to-break-part-of-my-game.91472/