Greetings, I'm working on a stat level up calculator (98% done until I started doing in game testing):
For the formula, I was referring to the guide written by Terence Fergusson here -
https://www.gamefaqs.com/pc/130791-final-fantasy-vii/faqs/36775I'm using the playstation 1 and the old game for it I got for Christmas sometime before the year 2000.
The issue is I have cloud leveling from 69 to 70. And his str is increasing anywhere between 0-2 (when it should increase 0 (meaning not at all) even with a maxRandomNumberRoll(
according to his guide). Here is the formula...
Character Name = Cloud
Character Current Level = 69
Character Current Strength = 97
Materia equipped = None
Not wearing any weapon/armor that affects strength
Accessory = None
Random Number Max =
8Level Bracket =
62-81Rank Curve =
1Base =
53 (decided by rank curve and level bracket, table in guide)
Gradient =
55 (decided by rank curve and level bracket, table in guide)
Baseline = Base + ((Gradient * nextLevel) / 100)
Baseline = 53 + ((55 * 70) / 100) -------> 91.5 (Truncate to
91)
Difference = (randomNumber) + (baseline) - (current stat value)
Difference = 8 + 91 - 97 ------->
2Difference | Stat Gain
0 - 3 | 0 4 - 6 | 1
7 - 9 | 2
10 - 11 | 3
Increase result = 0As we can see, according to the formula from his guide, the increase result even at the maximum roll should be 0. However in the game, I see the increase of strength happening anywhere between 0 - 2. Can anyone please elaborate on why this is happening?
Note: no cheat codes were entered during the entire gameplay that could have resulted in possible corruption. The only thing I used was a couple power sources I picked up along the way up to nibelhelm (maybe this activated an in-game bug?)
Note2: Hp/Mp formula seems to be working fine, as well as the luck formula (with it's own curve and base/gradient table). I'm guessing it has something to do with the numbers being wrong on the curve, or the base/gradient charts for primary stats.