MV Yanfly Buffs & States Core question

I've been trying to make a state that buffs a specific skill using the YEP's Buffs & States Core plugin, but I'm running into a wall
that i've not quite been able to jump over.

i have set up the state as shown below:
Code:
<Custom Confirm Effect>
if (this.isSkill(952))
{   
    /// damage formula
    var damage = (user.atk * 3.5 - target.def) * 0.75;
    /// Round up the number, just to make sure it works.
    damage = Math.ceil(damage);
    value += Math.max(0, damage);
    user.addStateCounter(173, -1);
}
</Custom Confirm Effect>

However, instead of just increasing the damage of skill ID: 952 it increases all the damage dealt by the actor.

Is there something I'm missing?

Thanks in advance.
Is there something I'm missing?
yes 😛

if (this.isSkill(952))
Game_Action.isSkill doesnt take any arguments. all it does is check if the action is a skill as opposed to an item. what you need to do to further specify which skill it is is to add a check for the action's skill's id
Code:
if (this.isSkill() && this.item().id == 952)
yes 😛


Game_Action.isSkill doesnt take any arguments. all it does is check if the action is a skill as opposed to an item. what you need to do to further specify which skill it is is to add a check for the action's skill's id
Code:
if (this.isSkill() && this.item().id == 952)
I thought i could set it directly there.

Now the damage increase works as intended.

Thanks for the help.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-buffs-states-core-question.173594/