I installed her script but every time someone has a skill equipped that has limited uses, cooldowns or warm-ups the game crashes as soon as the battle starts. It says the issue is with the line:
skill = $data_skills[skill] if !skill.is_a?(RPG::Skill)
and I get the error message "no implicit conversion from nil to integer". Any idea as to why this is happening?
EDIT: listed the wrong script, corrected the title
This happens when code expects a parameter to be a valid number usable as index (here only if it doesn't already refer directly to a skill), but it's just nothing instead.
I have no idea what that script is or what you have to do for setting up stuff for it, but if there is something set into database-note-boxes, be sure you absolutely have no typos in there.
~炬燵あ
Now that I know what script it is I can test.
It is not Yanfly Limited Skill Uses script
So putting Yanfly Skill Restrictions into a test project shows that limited uses works perfectly fine.
Please tell us what scripts you have in your project to know if there is an incompatibility.
You can also test by putting that script at the bottom of your script list.
And yes limited uses only needs the note tag in the skill note box.
Then rebuild your game from the new project and make backups every so often.
This thread is closed due to being reported as solved. If you need it reopened, let us know. Thank you!