wiki:max_hp
Table of Contents
Max HP
General
Max HP (also called MHP) affects HP Recovery, increase_hp_recovery, and spiritual_cadence.
Calculation
Ragnarok Online does not calculate the base maximum HP of players in real time. Instead, this lookup table is used. The following is an algorithm how the values of the lookup tables are calculated:
var BASE_HP = 35;
BASE_HP += BASE_LEVEL * HP_JOB_B;
for (var i = 2; i <= BASE_LEVEL; i++) {
BASE_HP += Math.round(HP_JOB_A * i);
}
var MAX_HP = BASE_HP;
MAX_HP = Math.floor( MAX_HP * (1 + VIT * 0.01) * TRANS_MOD * BABY_MOD );
MAX_HP += HP_MOD_A;
MAX_HP = Math.floor( MAX_HP * (1 + HP_MOD_B * 0.01) );
Where:
HP_JOB_A: See the job modifier table HP_JOB_B: The number in parenthesis, if any. Otherwise 5. HP_MOD_A: Sum of additive modifiers HP_MOD_B: Sum of multiplicative modifiers TRANS_MOD: 1.25 for transcendent classes, 1 otherwise BABY_MOD: 0.70 for baby classes, 1 otherwise
Notes:
Job Modifiers
Novices
| 0 | 0 |
First Job Classes
| 0.7 | 0.5 | 0.5 | 0.4 | 0.4 | 0.3 | 0.7 | 0.8 (0) | 0.75 (0) |
2-1 Job Classes
| 1.3 | 0.85 | 1.0 | 0.75 | 0.9 | 0.55 | 1.0 (6.75) |
2-2 Job Classes
wiki/max_hp.txt · Last modified: by 127.0.0.1
