RMMV Expanding on the features of yanfly limited skill use plugin

ShiraCheshire

Veteran
Veteran
Joined
Jan 8, 2020
Messages
57
Reaction score
79
First Language
English
Primarily Uses
RMMV
Are we allowed to ask for a plugin that also involves another existing plugin? Yanfly's limited skill use plugin has a part of what I need, but not everything. I'm hoping for a plugin that remedies this.

What I'm trying to do: I am trying to create a battle system around the concept of a leader who inspires their followers. The idea is that followers all have limited use skills, and need the leader to use skills that inspire them. After the leader inspires them, they gain uses for their limited use skills. How well the leader can inspire them depends on various factors such as their state, certain variables, and some amount of random chance (defined on a case by case basis for each move.)

What yanfly's plugin does: Yanfly's limited skill use allows me to create limited use skills, set/modify the maximum charge of the skill, make both limited and unlimited skills with ease, and (with a little lunatic mode- thank you helpful forum friends) can hide skills that have 0 charges left so they don't clutter the menu. This is all great. If a plugin cannot work as an addition to the functions provided by yanfly's plugin, then the plugin would need to be able to replicate all of this.

What yanfly's plugin cannot do:
- It does not allow me to manually subtract charges from a skill without modifying the max charge level. I would like all charges of all moves to be cleared (and thus hidden by the lunatic mode command) before each battle. Currently all moves start with maximum charge, which defeats the purpose of needing a leader to inspire you.
- It does not let me use conditional statements. I'm going to need a lot of "if this variable is this, then do that" for this to work.
- It does not let me reference things like variables, an actor's state, etc.
- It does not let me vary the outcome of an inspiration move randomly/vary it based on a variable I can randomize at will.

Examples for if you're confused:
Let's say Lucius is the leader, and is inspiring followers Marsha and Harold. Neither Marsha nor Harold have any visible/usable skills on their own at the start of the battle. But then Lucius casts "inspire attack", and they gain charges for limited use skills. Now charged, the move "inspired bash" has appeared in Harold's skill menu. "Inspired fire" appears in Marsha's skill menu.

Next round, Lucius casts "Mega inspiration." This has a variable outcome, decided randomly. For Harold, there's a 50-50 chance of getting either "Turbocut" or "Superslash." For Marsha, there's a 1/3 chance of getting "Lightning storm", "Fire storm", or "Ice storm". The game randomly decides the outcome for each, and they each get charges for one of the possible options.

Next round, Lucius casts "inspire attack" again. But oh no, Harold has been confused! This changes things. Now Harold has a 50% chance of getting "inspired bash" again, but there's also a 50% chance of getting "stumble" due to his state. Marsha has also gained a lot of TP. Now that she has lots of TP, she has a 50% chance of the normal "inspired fire" but also has a 50% chance of getting "Inspired firenado". (I already have a script that can check TP, I just need some way to actually use/check it in battle. Though if using that is a bridge too far, I'd be willing to skip on this one individual aspect.)

This battle is over. The heroes have defeated the pig king, and are more powerful now. In the game's variables, the "bosses defeated" variable silently ticks up from 0 to 1. Next time Lucius casts "Mega inspiration", the game references this variable. Before, it would see that the number was 0 and give the outcome described above. Now that it's 1, the outcome has changed. Harold now receives the attack "Swordexplosion" instead of what he used to get. Unless he's confused of course, in which case it's 50% "swordexplosion" and 50% "stumble."

When the battle ends, Harold still has charges for his "inspired bash" move. But these are lost now, next battle he will start with 0 charges and will need inspiration again.

Hopefully that illustrates what I'm going for here. I need to reference a lot of things, use conditionals, use random chance, use conditionals inside conditionals, etc etc. I will also note that I'm perfectly fine if some of these things need a little jury-rigging to happen. I don't care if the plugin lacks dedicated commands for every single thing, as long as I can accomplish what I'm going for. Honestly even if you just say "here paste these 3 pages of javascript into every attack's note tags" and that can make it work, I'd be all for it. Basically: If it's stupid and it works, it's not stupid.

------------

Special request: I'd like to be able to use this in commercial games (with credit to the maker, obviously.)

I'm not sure if forum rules allow me to say this or not, but I'd absolutely be willing to pay some money if anyone wanted to make this as a paid plugin. I know I'm asking a lot. I don't have a lot of money to my name, but I could absolutely throw some dollars at a paid plugin that could accomplish everything I'm going for. I also wouldn't ask that this plugin be for just me. If made, I'd be totally okay with it being shared in any way desired after.
 

Latest Threads

Latest Posts

Latest Profile Posts

At work.
Co: "This bug drove me insane. I tried a lot of things to debug, it just stuck".
Me: "How did you debug it?"
Co: *shows a complicated debugging method using breakpoints and everything*
Me: "What about ... " *casually prints a stack trace in the try/catch exception
Co: "Wait, you can do that??"
Totally original and unique OC
Harold.png
So after completing the Mass Effect Trilogy the first time as a Vanguard, I decided to replay the trilogy as a Soldier. Thus far, I've just finished the Horizon mission in ME2, and I'm already exhausted from ME2's f**k-awful enemy design.
Yeah, now Yes !!!! "boom boom "
"Fire the monsters, guards!!!"

index.php
I can't stop buying resource packs I'll never use, or engines for that matter, or free resources as my two terabyte external will attest. I am a digital hoarder I guess. Some people get drunk off the silly juice when they are bored, I just buy shiny digital nonsense I don't need.

Forum statistics

Threads
118,651
Messages
1,117,573
Members
155,758
Latest member
Trashcanislandd
Top