YEP.56 – Limited Skill Uses

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

You can grab the plugin here:

English Mirror

This is an extension plugin for the Skill Core plugin. This plugin enables you to set a limited amount of times certain skills (or all skills) can be used per battle or ever. This adds a different type of skill currency and balance mechanic in limiting the amount of times a skill can be used without directly having alter MP, TP, or the like.


Introduction


Please wait while you are redirected...or Click Here if you do not want to wait.

This plugin requires YEP_SkillCore. Make sure this plugin is located under YEP_SkillCore in the plugin list.

This plugin enables you to set a limited amount of times certain skills (or all skills) can be used per battle or ever. This adds a different type of skill currency and balance mechanic in limiting the amount of times a skill can be used without directly having alter MP, TP, or the like.


Notetags


You can use these notetags to govern the various Limited Uses aspects of your skills.

Skill Notetags:

<Unlimited Use>
If you’ve enabled ‘Limit All Skills’ in the plugin parameters, this will forcefully make the skill unlimited use. If you use this notetag, it will override any of the Limited Use settings.

<Limit Uses: x>
This will set the number of times the skill can be used to x. If the skill has 0 charges left, the skill cannot be used.

<Recover All Uses>
<Not Recover All Uses>
When using the recover all command, depending on the settings within the plugin parameters, all limited use charges are recovered or not. These notetags will enable you to utilize the other setting for the skill.

<Victory Uses Recover: x>
<Escape uses Recover: x>
<Lose Uses Recover: x>
When the player wins a battle, escapes a battle, or loses a battle, the skill use will recover x amount of uses for the respective outcome. If the notetags aren’t used, the amounts restored will be equal to settings made in the plugin’s parameters.

<After Battle Uses Recover: x>
This will set the recovery rate of victory, escape, or loss of battle to be equal to x indiscriminately.

Skill and Item Notetags:

<Global Limited Uses: +x>
<Global Limited Uses: -x>
This will change the target’s limited uses by +x or -x for all skills. +x will increase the amount of times the skills can be used. -x will decrease the amount of times the skills can be used.

<SType x Limited Uses: +y>
<SType x Limited Uses: -y>
This will change the target’s limited uses by +y or -y for all skills of the skill type x. +y will increase the amount of times the skills can be used. -y will decrease the amount of times the skills can be used.

<Skill x Limited Uses: +y>
<Skill x Limited Uses: -y>
<Skill name Limited Uses: +y>
<Skill name Limited Uses: -y>
This will change the target’s limited uses by +y or -y for skill x. If you use the named notetag varient and have multiple skills in the database with the same name, priority will be given to the skill with the highest ID. +y will increase the amount of times the skills can be used. -y will decrease the amount of times the skills can be used.

Actor, Class, Enemy, Weapon, Armor, and State Notetags:

<Global Use Max: +x>
<Global Use Max: -x>
A battler affected by this property will have any Limited Use skills alter the maximum times used by +x or -x.

<SType x Use Max: +y>
<SType x Use Max: -y>
A battler affected by this property will have Limited Use skills from skill type x alter the maximum times used by +y or -y.

<Skill x Use Max: +y>
<Skill x Use Max: -y>
<Skill name Use Max: +y>
<Skill name Use Max: -y>
A battler affected by this property will have Limited Use for skill x (or named if you’re using that version of the notetag instead) alter the maximum times used by +y or -y. If you are using the named version of the notetag and have multiple skills in the database with the same name, then priority will be given to the skill with the highest ID.


Lunatic Mode – Altering Target’s Limited Uses


For those with JavaScript proficiency, you can use the following notetags to perform conditional changes to the target’s Limited Uses.

Skill and Item Notetags:

— — —

<Custom Global Limited Uses>
value += user.level;
</Custom Global Limited Uses>
The ‘value’ variable is the number of uses the target will gain for all Limited Use skills.

— — —

<Custom SType x Limited Uses>
value += user.level;
</Custom SType x Limited Uses>
The ‘value’ variable is the number of uses the target will gain for all Limited Use skills of skill type x.

— — —

<Custom Skill x Limited Uses>
value += user.level;
</Custom Skill x Limited Uses>

or

<Custom Skill name Limited Uses>
value += user.level;
</Custom Skill name Limited Uses>

The ‘value’ variable is the number of uses the target will gain for all Limited Use skills of skill x. If you are using the named version of the notetag and you have multiple skills in your database with the same name, priority will be given to the skill with the highest ID.

— — —


Lunatic Mode – Conditional Max Uses


For those with JavaScript proficiency, you can use the following notetags to perform conditional changes to the target’s Limited Use Maximums.

Skill and Item Notetags:

— — —

<Custom Global Use Max>
value += user.level;
</Custom Global Use Max>
The ‘value’ variable is the maximum uses the user will gain for all Limited Use skills.

— — —

<Custom SType x Use Max>
value += user.level;
</Custom SType x Use Max>
The ‘value’ variable is the maximum uses the user will gain for all Limited Use skills of skill type x.

— — —

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

or

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

The ‘value’ variable is the maximum uses the user will gain for all Limited Use skills of skill x. If you are using the named version of the notetag and you have multiple skills in your database with the same name, priority will be given to the skill with the highest ID.

— — —

* Note: Keep in mind that none of the adjustments here will bypass the  ‘Absolute Max’ setting in the plugin parameters. That is the ceiling.


Happy RPG Making!