Is there a way to make an attack increase the stats of the user

So I'm making an attack in my game that's basically flame charge from Pokemon. When you use flame charge, your speed goes up by one stage. What I'm asking is there a way to mimic this effect in RPG Maker MV where an attack increases agility when used?
Edit: Trash Solution
Without scripts or plugins, you make the skill initialize a common event that applies the increased attack state onto a specific actor.
I do have access to the entire MV Yanfly plugin library if there's a way to do it with any of the plugins in there.
If you want to be able to do it multiple times in a battle, doing it as a buff will automatically stack a number of times, but using a state will require something like Yanfly's Buffs and States Core to allow it to stack.

Also see:
If you want to be able to do it multiple times in a battle, doing it as a buff will automatically stack a number of times, but using a state will require something like Yanfly's Buffs and States Core to allow it to stack.

Also see:
Well, it's part of an attack that does damage to a foe, and from what I've seen attaching a buff to an attack will just make it apply to the target of the attack and not the user of the attack like I am wanting to do. This is useful information through, being able to stack buffs like this will be useful.
from what I've seen attaching a buff to an attack will just make it apply to the target of the attack and not the user of the attack
If you click the link to the damage formula tutorial I included for you, it has instructions on how to do that.
If you click the link to the damage formula tutorial I included for you, it has instructions on how to do that.
Oh, well doubly thank you then!
Okay, I was able to get it to work! Had a small bit of trouble because I didn't have it formatted properly, but that was fixed!

a.addBuff(6, 99); a.atk * 1.5 - b.def; Is what worked in the end!

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-make-an-attack-increase-the-stats-of-the-user.149400/