Hello. I've tried a bunch of different ways to make it so when the first member of the party gets EXP (Im using QABS as my battle system so exp splitting and plugins like that dont work) everyone else gets the same amount of EXP. I was wondering, is there a script that does this automatically? I have my latest attempt posted below. I currently have it so it constantly checks current exp of the party lead, and then waits a bit, and does it again, recording it in a seperate variable. This is then subtracted New - Old, and that difference is distributed to everyone but the party lead. Is there anything wrong with this?
Any help would be appreciated.
That's not a very good way to do it.
What gives EXP? Is it only given to the leader? What does the existing plugin do?
You've just got to find the spot where the current plugin gives EXP, and make it give it to all party members and not just the leader (or whoever it's currently giving it to).
A parallel process event looking for something on every frame that is only going to change once in a while is just bad.
QABS is a really hard plugin to edit for me, but found I way to do it with events, by taking the math.max of each actors xp, which gets stored in a variable before hand. Then, each actors exp is subtracted from the maximum, and that difference is add back to each actor. This loops forever with a delay. Posted below is my solution, as it works perfectly. (Mind my variable names)
◆Control Variables:#0016 Nero = EXP of Nero
◆Control Variables:#0017 Rena = EXP of Rena
◆Control Variables:#0018 Aurra = EXP of Aurra
◆Control Variables:#0019 Garo = EXP of Garo
◆Control Variables:#0021 Dryad = EXP of Dryad (Aurra)
◆Script:var x = 0;
: :x = Math.max($gameVariables.value(16),$gameVariables.value(17),$gameVariables.value(18),$gameVariables.value(19));
: :$gameVariables.setValue(20, x)
◆Control Variables:#0016 Nero -= Max EXP in Party
◆Control Variables:#0016 Nero *= -1
◆Control Variables:#0017 Rena -= Max EXP in Party
◆Control Variables:#0017 Rena *= -1
◆Control Variables:#0018 Aurra -= Max EXP in Party
◆Control Variables:#0018 Aurra *= -1
◆Control Variables:#0019 Garo -= Max EXP in Party
◆Control Variables:#0019 Garo *= -1
◆Control Variables:#0021 Dryad -= Max EXP in Party
◆Control Variables:#0021 Dryad *= -1
◆Change EXP:Nero, + {Nero}
◆Change EXP:Rena, + {Rena}
◆Change EXP:Aurra, + {Aurra}
◆Change EXP:Garo, + {Garo}
◆Change EXP:Dryad (Aurra), + {Dryad}
◆Wait:30 frames