PDA

View Full Version : Npc HP formula


petre1980
21.07.2007, 22:35
Has been posted that hp = 1.57 * org_hp ... but that's an empiric forumula that works only for con=43, if con differs than the formula is not corect.
HP of an NPC must be a function that depends on org_hp and con, f(org_hp, con)=??? Any help ?

Guaresnay
22.07.2007, 00:19
Look for con_bonus at PC_parameter in the script folder

petre1980
22.07.2007, 01:17
Thanks.
Well... for con = 43 we have in PC_parameter attribute_43 = 58 and then HP of an mob must be HP = org_hp * (58 / 100 + 1) or HP = org_hp * 1.58
If the mob have con = 57 (boss) attribute_57 = 138 then HP = org_hp * (138 / 100 + 1) or HP = org_hp * 2.38
It seems to be corect. :D

Guaresnay
22.07.2007, 01:23
yeh thats how it works