Affinity System Help

Alright so I am determined to make a working "Affinity System" for the game I am working on. Basically the entire party is made up of couples. For this I will be using 2 of them as an Example.

So I am playing with my Common Events and the like and working with Variables. Now I have labeled this Variable as "Rion Affinity" and at increments of 25 it is supposed to boost his lover's (Sabrina's) stats. Now it may seem straightforward and simple "Oh just have it be Equal to 25, 50, 75, 100, etc." Well it's not. You see when it goes to 25 it is supposed to boost Sabrina's stats by 3. So 16 becomes 19. However when I set up an event that adds 25 Affinity the numbers jump around... So instead of becoming 19 it becomes 43, 45, 51, 42, 78, etc. 

 I have set it to where it must be Equal To 25, 50, 75, and 100 however none of it is making sense. I would very much like some help. Screens Below.

This is the event setup. Keep in mind it should only be utilizing the "Equal to: 25" event piece.

Spoiler
Screen1_zps26053eed.jpg
As you can see in the screenshot below, it is set to lock the Variable at 25.

Spoiler
Screen2_zpsb6dcdaaf.jpg
And this is what Sabrina's stats are before the boost. Keep in mind the 25 Variable is only supposed to boost it a little. So her stats SHOULD be:

SP: 450/465

EF: 90/105

Strength: 19

Endurance: 19

Focus: 19

Resistance: 19

Speed: 38

Luck: 38

Spoiler
Screen3_zpsab6b79a8.jpg
However when you get 25 Affinity this is what it becomes....

Spoiler
Screen4_zps630389d3.jpg
Attempt 2....

Spoiler
Screen5_zps5e901cc3.jpg
Attempt 3....

Spoiler
Screen6_zpsae87117b.jpg
Attempt 4....

Spoiler
Screen7_zps277e018b.jpg
Normally I would try to figure it out on my own but after stressing about it for hours I REALLY NEED HELP! As I said, the numbers really jump with no given explanation as to why. Please help me make this work, my game depends on it!

My Emoticon Process....

New Idea: BD

Starts Working: 😎

Encounters Trouble: 🤔

Tries Again: 😉

Fails...: :distrust:

Tries a third time: :headshake:

Gives up and begs for help: ;_;
The problem is that it keeps doing the parallel process over and over again and adding what is under Rion Affinity == 25 repeatedly.

You need a way to check if Rion Affinity == 25 to stop it from adding stats again.

I suggest using a switch to check if stats have been added once before.
Makes sense... So I need to stop the Parallel Process from repeating then? Alright... Wonder how though.
I suggest not making it a parallel process but have it called when a change is made to the affinity.  Also, do you want it to add stats again after reaching the 25 benchmark?  I suggest using two if statements for each benchmark and have one check if it already added the stats for that benchmark.
Nope I figured it out. The Switch idea worked. Basically I had to set a Conditional Branch with the Switch being Off and then set the Switch On after it adds the stats. ^_^

 Thanks for the help AwesomeCool
Your welcome and hope that your project has no more hair puling experiences  🙂
It probably will! xD

Original thread: https://forums.rpgmakerweb.com/threads/affinity-system-help.26649/