06-10-2010, 10:14 PM
hello
@ Atoa,
i have found a glitch with the optional script "Victory Window 3 (FF7)"
I am not sure you know about it so i will report it.
In the class Scene_Battle, around line 315, there is this code :
this is more specifically about this :
i am not sure what this "value" stand for, and by default the script is made for a value of 20.
Anyway, i have noticed when using this add-on that the experience given after a battle was messed up.
Example :
a party of 2 actors kills 4 enemy giving 15 exp each,
so the final exp received after battle = 30 exp (4 x 15 /2 with xp share)
The window Exp will draw exp received = 30, but the actors will actually receive only 20 XP...
I ve found out that it was because of this value. The value act as an experience cap.
if value = 20, if experience got in battle < 20, it will work fine.
but if you re supposed to get more than 20 exp, you get only 20.
i ve change the value = 40, and 40 was new cap. Setting Value = 99999 seems to be fixing the bug (unless you want an enemy to give more than 99999 xp...).
i just hope that changing value = 20 with value = 99999 will not affect the game.
thank you for reading
@ Atoa,
i have found a glitch with the optional script "Victory Window 3 (FF7)"
I am not sure you know about it so i will report it.
In the class Scene_Battle, around line 315, there is this code :
Code:
@bgs_memorize = $game_system.bgs_memorize
Audio.bgs_play('Audio/SE/' + Exp_SE, 100, 300)
value = 20
value = [exp, 1].max if exp < value
exp_value = (exp / value).to_i
exp = exp_value * value
max_exp = exp
for n in 0..gainedexp - exp_value
exp -= exp_value
this is more specifically about this :
Code:
value = 20
i am not sure what this "value" stand for, and by default the script is made for a value of 20.
Anyway, i have noticed when using this add-on that the experience given after a battle was messed up.
Example :
a party of 2 actors kills 4 enemy giving 15 exp each,
so the final exp received after battle = 30 exp (4 x 15 /2 with xp share)
The window Exp will draw exp received = 30, but the actors will actually receive only 20 XP...
I ve found out that it was because of this value. The value act as an experience cap.
if value = 20, if experience got in battle < 20, it will work fine.
but if you re supposed to get more than 20 exp, you get only 20.
i ve change the value = 40, and 40 was new cap. Setting Value = 99999 seems to be fixing the bug (unless you want an enemy to give more than 99999 xp...).
i just hope that changing value = 20 with value = 99999 will not affect the game.
thank you for reading