I'm trying to use this plugin, but it doesn't seem to do anything.
I have everything set to defaults in the plugin.
I have it loaded below YEP_SkillCore
Both plugins are set to ON.
I go to the skill in the database and enter <Limit Uses: 1> in the notes section.
There are no other note tags except this one.
I save and load up the game, then get into a battle to test it. There is no 1/1 or 2/2 or "empty" or anything next to the skill's name. I use the skill, it works, etc. Next round... I can use it again. I only want to be able to use it once per battle.
My question is: What am I doing wrong? I can't figure it out. The documentation and video seem to confirm that I'm doing it all correctly, and yet it's still not functional.
I even tried to set the global "Limit All Skills" to true, and that doesn't limit the skill either. So yeah, I don't know.
Did you try by starting a new game?
When installing a new plugin, remember to always start a new game, since most plugins will not work properly if you load a previous save.
What about the plugins you're using?
Maybe it's a compatibility issue with rm 1.5.0, but I don't want to think that.
Solved.
tl;dr: The plugin doesn't recognize the skills I made before I installed it, but works fine on all new skills I create, even though they're identical to the old ones.
So I went ahead and created a brand new project, re-downloaded YEP_SkillCore and YEP_X_LimitedSkillUses and loaded them along with the default plugins. I didn't want to leave anything to chance. So at this point, it's a fresh game with the following load order:
Community_Basic
MadeWithMV
YEP_SkillCore
YEP_X_LimitedSkillUses
I went into the database and created a new skill, then put the <Limit Uses: 1> tag into the notes section and.... lo and behold, it worked in-game.
So that tells me that there's something in my original project that's creating a conflict. Unfortunately, I have no idea what it is. I'm only using Yanfly Plugins. So I repeated the steps in my original project. I set every plugin to OFF except for the 4 plugins I listed above, and I put them in that order at the top of the list. The limits still didn't function on my skill.
So then I decided to make an ability that was exactly like the one I made in the brand new project. Upon testing, that new ability worked -- it had the specified limit of 1 use in-game. But.. my other abilities did not. So now I'm starting to narrow it down. There's something about the original ability I tried to make that is causing the plugin to fail to recognize it.
I started changing each parameter in the original ability to match the parameters in the new ability. One by one, I changed them and tested the game. Eventually, the two abilities were identical in every way -- but only the new one had the 1/1 limit enforced in-game.
After that, I decided to remake my original ability (the one I could never get to work) from scratch. It worked. Finally!
So why doesn't the plugin recognize any of the original skills I tried to use the limit tag on? I tried to think of a reason, and the only thing I could come up with is that I created it before I installed the plugin. I remember making it and thinking: "It'd be great if I could limit the usage of this ability." So I searched online, got the plugin and then, of course, the skills didn't work with the tag. I tried to recreate this scenario in a new project, but I couldn't. Abilities I made before installing the plugin worked fine after I installed it.
There must have been some kind of underlying conflict with the specific plugins I had when I made the skills that the plugin refuses to recognize, but I have no way of knowing what created such a state. All I know is that the plugin works on all new skills I create, and refuses to work on the old skills even though they are in every way identical. Either way, the problem is more or less solved now.
Thanks to everyone who tried to offer advice. I really appreciate it.
There's absolutely no reason for the plugin to behave like that. The error is surely elsewhere. Based on your description, I think I realize what the problem is.
The plugin has a 'Bypass Limits' parameter which lists the skill ids that will not have limits imposed on them. Perhaps the id of your original skill is listed in this parameter, which caused it to not have limits imposed on it.
A-ha! I think you've solved it. I went back in and checked the parameter for bypass (which I hadn't really looked at, tbh) and by default it's set to bypass limits on the first 7 default skills RMMV ships with. My original skill was just an edited skill 4, which I didn't think twice about completely overhauling since I knew I wasn't going to use the original in my game. That's why the old skills didn't work and the new ones do -- the old ones were all just edited default skills. How about that!
I feel a bit dumb, but at the same time I learned a lot from the experience, lol.