[RMMV] How to buff a caster while targeting an enemy?

Hello! I'm kinda new to the forum, and I have one major issue to sort out. So here is my situation.

I want my hero to use a careful attack, dealing minor damage to a single enemy, and buffing his own EVA by 50% for one turn.
I cannot figure out how to do this.
Is that even possible? Does that require any plugins?
Thanks in advance for your help.
This doesn't need a plugin, it is done in the damage formula box. Sadly, I know the Ruby syntax, not the Javascript syntax, so you will have to wait for an MV user to come by. In the meantime, you might like to have a look at this thread which will introduce you to the wonders you can achieve using the damage formula. I'm pretty sure that if you look through carefully, that will be one of the earlier formulas to be posted, as it is a common request.
Use a formula like this: a.addState(n); a.atk * 4 - b.def * 2

Replace n with the State ID of the state you want to add to the hero, and everything after the semicolon (;) with the damage formula you desire for the skill.
Thanks for the quick reply guys! Wavelength, that was exactly what I needed! Actually, someone from my dev blog helped me out about buffs, so if this can help people, buffs can be added via the formula by using a.addBuff(paramId, turns) for the caster and b.addBuff(paramId, turns) for the target.
Example for my "Careful Attack": a.addBuff(6,1); a.addBuff(6,1); a.atk * 0.8 - b.def
This attack will inflict 80%ATK (Caster) - DEF (Target) while providing 2 stacks of AGI buff until next turn (Caster) (+50%, if you are vanilla)

Tested it, and it works! However, I wonder if it is possible to pack the a.addBuffs instead of having a.addBuff(6,1); a.addBuff(6,1); ...
That's because I use Yanfly's Buffs and States Core plugin and changed the formula to have each buff granting +10%, meaning lotta buffs for
a +50% AGI...
@Wavelength, your formula using states will prove useful too! Thanks for the help.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-how-to-buff-a-caster-while-targeting-an-enemy.91452/