Getting a buff with a skill that deals damage.

So far i've noticed that the enemy gets the buff, i wanted the actor to get buffed instead and dealing damage to the target enemy.
Is that possible?
you need to use javascript code in the damage formula to apply those effects.


There is already a topic about that explaining the different commands and their syntax in the damage formula, please search for it.

Original thread: https://forums.rpgmakerweb.com/threads/getting-a-buff-with-a-skill-that-deals-damage.61231/