I'm tired of spamming the combat topic.
Hitpoints calculated thanks to Maurice of Magelo
BASEMAXHP = TRUNC[ 5 x ND ] + TRUNC [ Level x LevelMod x ND ] + TRUNC [ TRUNC [ ( STA - TRUNC [(STA-255)/2] ) x Level x LM / 300 ] x ND ] + itembonusHP
Natural durability AA increases HP by 2%, 5%, or 7%.
EDIT: I'm seeing that other people can get higher than 7% increases. I guess we can just set ND = 1 until we have AA ND code in there. Once the AA code is in, we can worry about the rest.
Omit below chunk :P
/*I think possible ND values for the following equation are 1, 1.02, 1.05, 1.07. If the AA of Natural Durability is 0, the ND value is 1, for 100%. If the AA of Natural Durability is 1, the ND value is 1.02, for 102%. If Natural Durability AA is 2, the ND value is 1.05, for 105%. If Natural Durability AA is 3, the ND value is 1.07, for 107%.
A quick way to figure it out is: Assume NatDurAAvalue is the shown value of the AA Natural durability in the inventory in the client.
Their ND value is equal to the equation below.
ND = TRUNC [100+2.5*NatDurAAvalue] / 100 */
Quote:
Originally Posted by Maurice
HP = TRUNC[ 5 x ND ] + TRUNC [ Lvl x LM x ND ] + TRUNC [ TRUNC [ ( STA - TRUNC [(STA-255)/2] ) x Lvl x LM / 300 ] x ND ]
Where the ND is the multiplier bonus they use (Natural Durability, Physical Enhancement, etc ...) and where the term TRUNC [(STA-255)/2] is always 0 or greater (i.e. when STA is below 255, it is considered equal to 0). LM is a class and level dependent multiplier as indicated below:
What is known so far:
Monk, Rogue, Beastlord and Bard:
Level 1-50: Levelmultiplier = 18
Level 51-57: Levelmultiplier = 19
Level 58-65: Levelmultiplier = 20
Cleric, Druid, Shaman:
Level 1-65: Levelmultiplier = 15
Magician, Necromancer, Enchanter and Wizard:
Level 1-65: Levelmultiplier = 12
Ranger:
Level 1-57: Levelmultiplier = 20
Level 58-65: Levelmultiplier = 21
Shadowknight and Paladin:
Level 1-34: Levelmultiplier = 21
Level 35-44: Levelmultiplier = 22
Level 45-50: Levelmultiplier = 23
Level 51-55: Levelmultiplier = 24
Level 56-59: Levelmultiplier = 25
Level 60-65: Levelmultiplier = 26
Warrior:
Level 1-19: Levelmultiplier = 22
Level 20-29: Levelmultiplier = 23
Level 30-39: Levelmultiplier = 25
Level 40-52: Levelmultiplier = 27
Level 53-56: Levelmultiplier = 28
Level 57-59: Levelmultiplier = 29
Level 60-65: Levelmultiplier = 30
|
Item HP bonuses need to be added directly to the Base, without modification.