HELP WITH EXP DISTRIBUTE [2K3]
Posts
Pages:
1
So, I'm at a complete stump here. I've been getting reports from a beta tester of mine that a battle passive, EXP Distribute, is not working. What this is supposed to do is when the character in question (Keine in this scenario) is in the party, whatever EXP the party earns, 10% of that goes to all non-active party members (those not in the party) at level 1 (20% at level 2, and 30% at level 3). However, this still works when running away, when it should not be...I am not sure what is causing this to happen. Here's what I have:
*At the start of the fight, on turn 0, there is a Call Event command to my Start Battle stuff (things that set everything at the start of the fight, such as timers, abilities, etc.). In here, I have Variable 1935 "Temp Escape Value" set to the number of escapes.
*After battle, a common event runs that goes through all the various "Battle Cleanup" events (11 in total right now). In one of them, I have it set as the following:
Rinse and repeat until you get to the end of the coding (you'll also see something similar for Rinnosuke's Millionaire ability, which I'm going to assume has the same problem):
So...it SHOULD be set in such a manner that:
1) Temp escape is set so that the game has a check for the actual escape value, which should be set after battle.
2) If equal, then it should run the event. If not equal, it should not run the event at all.
For some reason, something is not working here and I do not know why. Can anyone help on this matter? @_@;
*At the start of the fight, on turn 0, there is a Call Event command to my Start Battle stuff (things that set everything at the start of the fight, such as timers, abilities, etc.). In here, I have Variable 1935 "Temp Escape Value" set to the number of escapes.
*After battle, a common event runs that goes through all the various "Battle Cleanup" events (11 in total right now). In one of them, I have it set as the following:

Rinse and repeat until you get to the end of the coding (you'll also see something similar for Rinnosuke's Millionaire ability, which I'm going to assume has the same problem):

So...it SHOULD be set in such a manner that:
1) Temp escape is set so that the game has a check for the actual escape value, which should be set after battle.
2) If equal, then it should run the event. If not equal, it should not run the event at all.
For some reason, something is not working here and I do not know why. Can anyone help on this matter? @_@;
Is that last assignment of #1935 outside of the #353 > #1935 branch? If it isn't then 1935 is never being updated so once you retreat the whole event will never execute again. Once you retreat #353 will always be >0 (because you ran away at least once) but #1935 will still be its initial value of 0. Since #1935 isn't being updated the event will always see #353 > #1935 and assume you ran away from every battle. Make sure #1935 is always being updated no matter the result of any branches.
e: Barring that, plot down some ShowMessages to print the values of #353 and #1935 and what code is being executed to try and track down the issue because I don't see it otherwise.
e: Barring that, plot down some ShowMessages to print the values of #353 and #1935 and what code is being executed to try and track down the issue because I don't see it otherwise.
Pages:
1















