Page 1 of 1
monsters hit point
Posted: Sat Apr 07, 2007 12:05 pm
by Joramun
I noticed Monster hp, unlike character hp, are not multiplied by ten internally. It is odd, I think it should be the same way for monsters and characters, especially because it avoids handling damage differently.
Posted: Sat Apr 07, 2007 9:36 pm
by Sophia
Multiplying everything by ten internally was mainly to allow more resolution in the case of bonuses, regeneration, etc., and to make the stats consistent instead of having stamina being weird.
Most of the game's Lua code itself uses the more familiar "DM scale," with the multiplication of player HP by ten happening at a very late stage in the processing. So, provided you use something like
do_damage instead of simply
dsb_set_hp, they are already on the same scale (albeit the scale that's a factor of 10 smaller)-- it's not perfectly consistent, I admit, but I think it should be ok, and I'm not really enthusiastic about totally changing how monster hp works.
