Problems with Skills and script - Selected Actor

Hi everybody,
first, sorry for my English!
I have a problem, I try to make Skills that upgrade custom stats (from Bobstah Custom Stats), a simply +5 point. I made a common event, and when one of the actor learn skill it's all ok, but when I click on the Skill to active it (not in battle, it's a sort of passive Skill use only 1 time), all the actors gain the +5 bonus, and not only the selected actor . I tried different solution, but I can't solve! Someone can help me?
Thank you.

I've moved this thread to Plugin Support. Thank you.

another question, I have a Custom Stat that depend from another stat, when this one changes also the other Stat changes. I use to define it this script: $gameActors.actor(2).bfo = Math.floor($gameActors.actor(2).for/10), and when I generate Stat at start, it's all Ok.
Now when the first Stat changes I made a common event to change the second Stat, and I use the same Script, but the value of the bfo Stat becomes wrong, I think that the value of new formula is added up and not replace. What's my mistake?
the same thing when a I restart a game, the Custom Stat are wrong.

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-skills-and-script-selected-actor.121885/