Problems with Skills and script - Selected Actor

lordarioch

Warper
Member
Joined
May 5, 2020
Messages
2
Reaction score
0
First Language
italian
Primarily Uses
RMMV
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.
 
Last edited:

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
14,777
Reaction score
8,199
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

lordarioch

Warper
Member
Joined
May 5, 2020
Messages
2
Reaction score
0
First Language
italian
Primarily Uses
RMMV
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.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Newest RPG Maker drops: hey fellas, get on the MZ train to somewhere

Me: Building my VX Ace lego tower, blissfully unaware of time moving forward
When you are trying to make progress in your game. But something is stopping your motivation. Like come on mind! Let me do what I want! :<
Tfw everyone is trying their hardest to brainstorm about unique ideas and game mechanics, here I am just going: "How am I gonna event conversations with busts" everyday. :kaoswt2:
Comedy is third person, tragedy is first person.
Man. A historic 130 year old church nearby had all of its windows broken out with bricks last night. Such a shame, it wasn't generic stained glass patterns either but had beautifully crafted murals depicting various parts of the gospels.

Forum statistics

Threads
99,320
Messages
964,136
Members
130,928
Latest member
LadyElselin
Top