monsters hit point
Moderator: Sophia
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

monsters hit point
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.
What Is Your Quest ?
- Sophia
- Concise and Honest
- Posts: 4307
- Joined: Thu Sep 12, 2002 9:50 pm
- Location: Nowhere in particular
- Contact:
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.
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.
