Attack + Buff (NOT ATTACK + STATE)

Although I've found similar things, I haven't found an answer to exactly this.
Basically, I want an attack that buffs the user.
I.E I use an attack called "Claw" which does a bit of damage to a enemy and gives me +Attack for 2 turns. how can i do this?
and again, this is NOT STATES. i want to give myself a buff, NOT A STATE.
Probably the most direct way to do this is call up a Common Event with the attack that forces the user to use a second skill that buffs them.
If you happen to use Yanfly's Skill Core, you could use the <Post-Damage Eval> or <After Eval> notetags to trigger the buff after your attack finishes. Ex:

<Post-Damage Eval>
a.addBuff(2, 2)
</Post-Damage Eval>

The first number is the parameter ID, while the second is how many turns you want the buff to last. That code should work.

If you don't have Skill Core, @kirbwarrior probably has the next best idea.
You could also just do it directly in the damage formula, as described in this thread
and again, this is NOT STATES. i want to give myself a buff, NOT A STATE.
Why so aggressive here? I'm pretty sure everyone who has used this software/these forums knows the difference between buffs and states.
If im being honest, i have no clue why i was so aggressive.
Anyways, thanks for all the responses! i decided to go with kirbwarriors idea, and it worked!
Edit: it only worked for one person.
Ok, i fiddled a bit with damage formulas, and now im sure it works.
feel free to archive this thread, or whatever the term for it is.
also, i remembered why i put "not states" in capitals: there were many guides about states.
Edit: it only worked for one person.
Yes, my option would only work for one person. Damage formulas are a much better solution and one I just frankly forgot about XD

If you don't have Skill Core
Even though it's free, I try to answer with non-plugins when possible (unless others have already done so).

Neat thing about both skill core and damage formulas is that you can add the buff before dealing damage, which might be the intent of a given skill.
Even though it's free, I try to answer with non-plugins when possible (unless others have already done so).
Well, Sword's answer is better in that it will just work. When putting stuff into the damage formula, it's simple but it has the caveat of causing odd results if people use autobattle, etc. I don't think most people do, so I don't bother to talk about that every time, but strictly speaking the free plugin is the smoothest and least error-prone way to achieve this.
but strictly speaking the free plugin is the smoothest and least error-prone way to achieve this.
True, I'll definitely give you that.

Original thread: https://forums.rpgmakerweb.com/threads/attack-buff-not-attack-state.148316/