Actor Target State [SOLVED]

Is there a way I could make a certain actor deal extra damage to an enemy with a certain state? Like only said party member can do it
are you using plugins in your project? with yanfly's buffs and states plugin, if you put this in a state's notebox, it would increase the damage dealt to a target by 25% if the attacker is whatever actor is specified on the first line there.

Code:
<custom react effect>
if (user == $gameActors.actor(1) && this.isDamage() && value > 0)
  value += Math.ceil(value*.25);
</custom react effect>
are you using plugins in your project? with yanfly's buffs and states plugin, if you put this in a state's notebox, it would increase the damage dealt to a target by 25% if the attacker is whatever actor is specified on the first line there.

Code:
<custom react effect>
if (user == $gameActors.actor(1) && this.isDamage() && value > 0)
  value += Math.ceil(value*.25);
</custom react effect>
Yeah I am using that plugin, I'll add this code to the notes and let you know if it works for me, thanks!

are you using plugins in your project? with yanfly's buffs and states plugin, if you put this in a state's notebox, it would increase the damage dealt to a target by 25% if the attacker is whatever actor is specified on the first line there.

Code:
<custom react effect>
if (user == $gameActors.actor(1) && this.isDamage() && value > 0)
  value += Math.ceil(value*.25);
</custom react effect>
From what I can tell, it works, thanks!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/actor-target-state-solved.171763/