set_hp

skylib_fluffos_v3/mudlib/doc/new/living/set_hp · 368 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.DT
set_hp
$MUDNAME$ living help
set_hp

Name
.SI 5
set_hp - Sets the current hit points.
.EI

Syntax
.SI 5
void set_hp(int hp);
.EI

Description
.SP 5 5
This sets the current hit points of the thingy.  If the hps are below
0.  The object is killed.  Death is tricky.  See help on death in the
concepts dir.
.EP

See also
.SP 5 5
query_hp, query_max_hp, adjust_hp
.EP

Site Stats

Snippets: 1791
Codebases: 571