Stats go down when leveling up.

Mr. Detective

NATO Special Operative
Veteran
Joined
Sep 9, 2012
Messages
665
Reaction score
232
First Language
English
Primarily Uses
N/A
Hi guys,

I am using Yanfly's Victory Aftermath script. When a character levels up, their new stats will be displayed. The problem is: I have a skill that increases the party's attack power for a few turns. If someone is still in this state when leveling up, the game will display their current increased stats along with their new stats, which seems to have decreased.

Here is how it looks like with the skill still in effect:



And here is how it should normally be:



This creates an inconsistence stats increase for the characters and break the game. What can I do to fix this?
 

Mr. Detective

NATO Special Operative
Veteran
Joined
Sep 9, 2012
Messages
665
Reaction score
232
First Language
English
Primarily Uses
N/A
I'm so sorry, but the bug actually got worse. Not sure what the cause is, but...



Another member has given me an alternate solution. I am going to try that now.
 

kerbonklin

Hiatus King
Veteran
Joined
Jan 6, 2013
Messages
1,726
Reaction score
275
First Language
English
Primarily Uses
RMMV
Do you have the state set to remove at the end of battle? If you don't then that might fix it. (Unless you want it to persist afterwards)

Or if it is set to remove after battle but the problem persists, you can try changing in the scripts where states are auto-removed upon battle-ending. (make it happen earlier than it normally does, around process_victory)
 

Mr. Detective

NATO Special Operative
Veteran
Joined
Sep 9, 2012
Messages
665
Reaction score
232
First Language
English
Primarily Uses
N/A
TheoAllen from RPG Maker VX Ace forum hasa provided me a patch to fix this in the old script.

That worked out very well. :)
 

Jorgesias

Bel demon
Member
Joined
Apr 5, 2015
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMVXA
TheoAllen from RPG Maker VX Ace forum hasa provided me a patch to fix this in the old script.


That worked out very well. :)


¿Could you give me a link to that script?, I use a lot of stat changes mid-game wich don´t get registered in the newest version.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


Please post a link to the script when you ask for help with it.  In this case it's not needed, as the first person to reply did it for you.  But next time, include a link.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,583
Latest member
write2dgray
Top