Quote:
Originally posted by Goldknight
Anyway I wonder is there any way for me to edit php or whatever to change the percent of increase hp, ma, pp, and ap? To slow these down I guess =D I just want to play with these a bit more.
In any way, it is great hack and excellent work! Thanks!
|
If you are looking to slow them down, then I assume that you want to make them go up less every time someone updates their stats, correct? There is any easy way to adjust how high they go up:
In update.php find:
PHP Code:
$maxhpupdate = ( $level * 75 * $hpmulti) + $hpmodifier;
$maxhpupdate= floor ($maxhpupdate);
$maxmaupdate = $mamodifier + ($jointime * $level) / 5;
$maxmaupdate = floor ($maxmaupdate);
$maxppupdate = $ppmodifier + ($jointime * $level) / 3;
$maxppupdate = floor ($maxppupdate);
Those formulas determine the maximum about of hp, ma, and pp that a person has. AP is determined strictly by their element (see the "+ to ap" field of elements in the admin control panel).
To adjust the amount that HP goes up, change the "75" to a number of your choice (a smaller number will make it go up less, since you are multiplying).
To adjust the amount that MA goes up, change the "5" to a number of your choice (a greater number will make it go up less, since you are dividing).
To adjust the amount that PP goes up, change the "3" to a number of your choice (once again, a greater number equals less PP).
This change should apply retroactively once a user update's their stats. So, you shouldn't have to make a new character to test your changes; just keep updating your stats and notice the difference each time.
Is that what you wanted to do?