B
Brackleforth
Guest
Hello,
I am interested in making an array for each of my 4 RPG party characters to determine their stats.
The array should go from level 1 to level 99, and use a calculation to determine the MAX HP, ATTACK, and MAGIC statistics for each level. For example, maybe they all raise by a flat value, and then that new sum is multiplied by 1.05 and rounded to the nearest integer.
This way, when a character levels up, I want it to automatically grab their stats in the array...
Has anybody created arrays like this before? I imagine you use a for loop or something like that to initiate it.
Thanks!
I am interested in making an array for each of my 4 RPG party characters to determine their stats.
The array should go from level 1 to level 99, and use a calculation to determine the MAX HP, ATTACK, and MAGIC statistics for each level. For example, maybe they all raise by a flat value, and then that new sum is multiplied by 1.05 and rounded to the nearest integer.
This way, when a character levels up, I want it to automatically grab their stats in the array...
Has anybody created arrays like this before? I imagine you use a for loop or something like that to initiate it.
Thanks!