How to go about this attack?

1640972053942.png
I would use a 2-turn state with a <Custom Remove Effect> notetag, assuming you have Buffs & States Core.
For a native solution, call a common event. Set a variable. Increment the variable. When the variable hits 2, clear statuses.
Set a variable. Increment the variable. When the variable hits 2, clear statuses.
How are you incrementing and checking the variable? Are you putting a troop event into every troop in the game that's looking to see if this variable has been set and goes from there?
break it down.
all delayed actions have three components: the trigger, the timer, and the handler.
the handler in this case is a state removal... simple enough to make with blocks.
the trigger is the skill effect, for which you can use a common event.
the problem is the timer: you have to count battle turns, which can only be done through the battle manager (which indirectly watches over troop events)

so, for the timer part you'll need a plugin: something that counts turns until told to stop.
for *that* you can put up a switch, *which* the handler can take care of after it's done processing.
the timer would always be watching troop turns, but only counting them until after being ordered by the trigger, and until the handler resets it.
you don't need an entire battle mod to simply count turns.
How are you incrementing and checking the variable? Are you putting a troop event into every troop in the game that's looking to see if this variable has been set and goes from there?

That would be the most straightforward, although it could get tedious if you multiple skills requiring common events.
That would be the most straightforward, although it could get tedious if you multiple skills requiring common events.
I would personally say that copying and pasting a troop event into every troop is already more tedious than using a free plugin 😉 Was just wondering if you had some other technique in mind that I wasn't thinking of.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-go-about-this-attack.143476/