MV Is there a way to make a stackable buff which triggers on enemy defeat?

Hello, so getting straight to the point:

I have a skill (hidden from battle with Yanfly's Passive States) where if the user learns it, they gain a stacking buff each time they defeat an enemy with a damaging skill. So for example, if the user defeats enemy a, they gain a 3% ATK buff, and if they then defeat enemy b, the buff stacks and the user gains a 6% ATK buff.

So what's the problem? I have no clue how to implement it.

Screenshot (90).png

These are the plugins I'm using. I've heard that what I want to do could be done with Yanfly's Buffs & States and a bit of scripting, but I'm not great at scripting to put it bluntly. I appreciate anyone willing to respond and point me in the right direction.
for example, if the user defeats enemy a, they gain a 3% ATK buff, and if they then defeat enemy b, the buff stacks and the user gains a 6% ATK buff.
Yanfly's buffs and states core gets you about half way there. if you wanted it to increase damage dealt that way it would be easy alone. but since you want it to increase a parameter, youll want yanfly's plugin to manage some property and then use something like Quasi's parameter plugin alter the ATK parameter based on it
I'll try it at least, I just hope they both work with each other with what I want to do.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-make-a-stackable-buff-which-triggers-on-enemy-defeat.182228/