This is probably a really simple thing, but how do I do the following
-Character A has buffs to a stat
-Character A attacks an Enemy
(here's the bit I can't seem to figure out)
-Character A loses the buffs to their stat.
How long is the auto removal on your state/effect?
If you're using the buff / debuff system and not states, I'm fairly sure applying a new buff will overwrite the old duration- so using another "buff until next turn" effect should stack and extend it until the next turn.
In a damage formula, you can remove the user's buff via "a.removeBuff(#); [actual damage formula here]" where the # should be the numeric ID of the stat being buffed. You'd need to put this for every single attack formula, though.
Nevermind, I figured out how to do it with Yanfly's Action Sequences.