Help with Yanfly Limited Skill Uses.

Hi, all. I'm trying to set up skills for one of my characters using Yanfly's Limited Skill Uses plugin. I got it working, if I want Skills to have a fixed number of uses, but I'd like the max number of uses to increase with level. As best as I can tell, I need to do it through Lunatic Mode, but I'm failing to produce any results.


Any suggestions?
Simple solution : replace skill with a version with a different number of use.
Simple solution : replace skill with a version with a different number of use.

This become very complicated if he wants to make a progression such as +1 use each 5 levels.
Simple solution : replace skill with a version with a different number of use.

I didn't realize it was possible to revoke a skill.

This become very complicated if he wants to make a progression such as +1 use each 5 levels.

Indeed, that was my intention. I want the skill in question to have 3+level/4 uses (3 at level 1, 4 at 4, 5 at 8, etc), and additional skills to have similar progressions. 


If it's possible, I'd far rather just have the skill grow on its own. 
I don't know if it will work with the skill core, but my Tech Points plugin do exactly the same thing and has built-in support to custom formulas.


Put those notes on the skill notebox:


<tech skill>

<tech points: 99>
result = 3 + a.level / 4
</tech points>


the value "99" is the cap for the skill tech points, if you want it to have a cap just change the value.


And before you ask (everyone ask that).


- yes, it requires the basic module.


- no, the basic module don't have any kind of issues with Yanfly Engine. (if it don't work the issue is with the Tech Points)
I've got a couple ideas what I might be doing wrong, but it has to wait until I get home from work.


If I can't figure it out, and nobody else can give a solution, I'll give your plugin a try.


Thanks for your replies.

Edit: I've been using the following code directly off the page linked in the OP:
 

Code:
<Custom Skill name Use Max>
value += user.level;
</Custom Skill name Use Max>





That code is listed, along with a couple others, as "Skill and Item Notetags". I changed "name" to "Shiv" (the name of the skill in question), and put it in Shiv's notes. Nothing happened. I took the same code and put it in the weapon that that character started with, and the character instantly gained her level in uses while the weapon was equipped (twice that while dual-wielding). So it's definitely working on Items.


Thinking that the code might not work if inserted in the Skill it was affecting, I moved the code into Attack (Skill 1), and once again it did nothing. Note that this is a direct copy/paste of the code that DID work when applied to a weapon.


Since Attack is a special skill handled differently from most others, I thought that it might be the reason that it didn't work, so I created another new skill, gave it to the same character, and added the same Notetag; still nothing.


I have also tried the tags in Class and Actor, but they had no effect (as expected).


At this point, I can only conclude that one of two things is true: Either the description on the plugin page is in error, and the Notetag only functions for items, or the plugin is bugged, and skill's notetags are not being processed.

Tagging @Yanfly in hopes that he can drop in and shed some light on the subject.
I've got a couple ideas what I might be doing wrong, but it has to wait until I get home from work.


If I can't figure it out, and nobody else can give a solution, I'll give your plugin a try.


Thanks for your replies.

Edit: I've been using the following code directly off the page linked in the OP:
 

Code:
<Custom Skill name Use Max>
value += user.level;
</Custom Skill name Use Max>





That code is listed, along with a couple others, as "Skill and Item Notetags". I changed "name" to "Shiv" (the name of the skill in question), and put it in Shiv's notes. Nothing happened. I took the same code and put it in the weapon that that character started with, and the character instantly gained her level in uses while the weapon was equipped (twice that while dual-wielding). So it's definitely working on Items.


Thinking that the code might not work if inserted in the Skill it was affecting, I moved the code into Attack (Skill 1), and once again it did nothing. Note that this is a direct copy/paste of the code that DID work when applied to a weapon.


Since Attack is a special skill handled differently from most others, I thought that it might be the reason that it didn't work, so I created another new skill, gave it to the same character, and added the same Notetag; still nothing.


I have also tried the tags in Class and Actor, but they had no effect (as expected).


At this point, I can only conclude that one of two things is true: Either the description on the plugin page is in error, and the Notetag only functions for items, or the plugin is bugged, and skill's notetags are not being processed.

Tagging @Yanfly in hopes that he can drop in and shed some light on the subject.



This is actually my fault. I mislabeled it in the instructions.


Place this inside of the skill notetag:


<Limit Uses: 1>


Place this inside of an actor, class, enemy, weapon, armor, or state notetag. Replace x with the name or ID of the skill:


<Custom Skill x Use Max>
value += user.level;
</Custom Skill x Use Max>


Also, might I redirect you to my support thread instead? It's a lot of work keeping track of multiple threads so I'd like all questions to be kept in one place. Thanks!
Place this inside of the skill notetag:


<Limit Uses: 1>


Place this inside of an actor, class, enemy, weapon, armor, or state notetag. Replace x with the name or ID of the skill:


<Custom Skill x Use Max>
value += user.level;
</Custom Skill x Use Max>

I'm positive that I tried exactly that, without success. But it worked this time. Thanks for the help!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-yanfly-limited-skill-uses.61129/