Heyo.
I'm looking for a script that can causes a specified skill to be used upon an actor whenever a tagged state runs out.
The idea I have in my head is that the state would have a note tag along the lines of <removal_skill (x)>, where x is the ID of the skill that is used.
If that's not enough of a description, then I've created a small series of pictures to act as a visual example for how it'd look in-game.
Before we start, assume that the hypothetical RPG depicted has some basic core scripts installed, such as Yanfly's battle engine and such.
Scene: The protagonist, SHUMBURT, is thrust into the combat with the big bad evil guy, KILLBASTARD THE 2ST. His party accompanies him in the battle to avenge [insert family member here] and save [insert love interest here]
Turn 1, K.B. uses his skill, "Dim Mak" on Shumburt, dealing a minor amount of damage and inflicting the Pressure Point status effect on him.
Turn 2, K.B. does some move that is generally insignificant to the fight, like stalling or something, forfeiting the turn.
But uh oh! The Pressure Point state that was afflicted on Shumburt last turn runs out, causing him to be hit with the skill "Vein Explosion," which proceeds to do its animation, damage calculations, and status afflictions (in this case, Bleeding.)
The battle continues... Thankfully, the Cooler Shumburt will probably sacrifice himself to kill K.B. for good after he transforms into a horrible eldritch abomination for phase 2. Godspeed, Cooler Shumburt.
That's basically how I imagine it going in-game.
This is just one example of how it could be used. Another example would be a regeneration buff that culminates in a small full-party heal when it ends.
A much crueler example would be a debuff that, once it ends, instantly kills the victim.
I've tried looking to see if there's an existing script that does this, but either my Google-fu skills are truly weak, or it hasn't been made yet. Hoping the answer may lie here.
I'm looking for a script that can causes a specified skill to be used upon an actor whenever a tagged state runs out.
The idea I have in my head is that the state would have a note tag along the lines of <removal_skill (x)>, where x is the ID of the skill that is used.
If that's not enough of a description, then I've created a small series of pictures to act as a visual example for how it'd look in-game.
Before we start, assume that the hypothetical RPG depicted has some basic core scripts installed, such as Yanfly's battle engine and such.
Scene: The protagonist, SHUMBURT, is thrust into the combat with the big bad evil guy, KILLBASTARD THE 2ST. His party accompanies him in the battle to avenge [insert family member here] and save [insert love interest here]
Turn 1, K.B. uses his skill, "Dim Mak" on Shumburt, dealing a minor amount of damage and inflicting the Pressure Point status effect on him.
Turn 2, K.B. does some move that is generally insignificant to the fight, like stalling or something, forfeiting the turn.
But uh oh! The Pressure Point state that was afflicted on Shumburt last turn runs out, causing him to be hit with the skill "Vein Explosion," which proceeds to do its animation, damage calculations, and status afflictions (in this case, Bleeding.)
The battle continues... Thankfully, the Cooler Shumburt will probably sacrifice himself to kill K.B. for good after he transforms into a horrible eldritch abomination for phase 2. Godspeed, Cooler Shumburt.
That's basically how I imagine it going in-game.
This is just one example of how it could be used. Another example would be a regeneration buff that culminates in a small full-party heal when it ends.
A much crueler example would be a debuff that, once it ends, instantly kills the victim.
I've tried looking to see if there's an existing script that does this, but either my Google-fu skills are truly weak, or it hasn't been made yet. Hoping the answer may lie here.
