REDUCE_HIT_POINT(L) NAME reduce_hit_point - OBSOLETE function. SYNOPSIS Use add_hp(L) instead. LOCATION /obj/living.c RETURN VALUE The total hit points of a creature after amount has been subtracted. DESCRIPTION This function is obsolete and will be removed. Use add_hp(L) instead. This function is used to subtract 'amount' from the total hit points of a living object. NOTES Use of this function in weapons and in combat is expressly forbidden. Doing so may be grounds for demotion. Check the rules or ask a 35++ for more current info. Negative values may be used to heal hit points alone (opposed to heal_self(L) which heals hit points and spell points together). This function cannot reduce a living below 1 hit point, and so cannot kill a living. Unlike hit_player(L), which adjusts the damage for armour class, this function adds or subtracts an absolute amount from the total hit points. Use this for poisons and the like. BUGS (FEATURES) Currently this can be used to raise a living object above its maximum normal hit point range. Do not use this feature. SEE ALSO add_hp(L), add_sp(L), heal_self(L)
Help topics available:
LFUNS | MORE_LFUNS | query_info | query_air | reduce_hit_point |
restore_spell_points | save_me_from_death |
You are guest number 78 since December 2019.
This file was last modified: June 2000.