====== Max HP ====== ===== General ===== Max HP (also called MHP) affects HP Recovery, [[wiki:increase_hp_recovery]], and [[wiki:spiritual_cadence]]. ===== Calculation ===== Ragnarok Online does not calculate the base maximum HP of players in real time. Instead, this [[http://ro.doddlercon.com/misc/maxhp3.html|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 ==== ^ [[wiki:novice]] ^ [[wiki:super_novice]] ^ | 0 | 0 | ==== First Job Classes ==== ^ [[wiki:swordman]] ^ [[wiki:archer]] ^ [[wiki:thief]] ^ [[wiki:acolyte]] ^ [[wiki:merchant]] ^ [[wiki:mage]] ^ [[wiki:taekwon_kid]] ^ [[wiki:ninja]] ^ [[wiki:gunslinger]] ^ | 0.7 | 0.5 | 0.5 | 0.4 | 0.4 | 0.3 | 0.7 | 0.8 (0) | 0.75 (0) | ==== 2-1 Job Classes ==== ^ [[wiki:knight]] ^ [[wiki:hunter]] ^ [[wiki:assassin]] ^ [[wiki:priest]] ^ [[wiki:blacksmith]] ^ [[wiki:wizard]] ^ [[wiki:taekwon_master]] ^ | 1.3 | 0.85 | 1.0 | 0.75 | 0.9 | 0.55 | 1.0 (6.75) | ==== 2-2 Job Classes ==== ^ [[wiki:crusader]] ^ [[wiki:dancer]]/[[wiki:bard]] ^ [[wiki:rogue]] ^ [[wiki:monk]] ^ [[wiki:alchemist]] ^ [[wiki:sage]] ^ [[wiki:soul_linker]] ^ | 1.1 (7) | 0.75 (3) | 0.85 | 0.9 (6.5) | 0.9 | 0.75 | 0.75 |