adjust_max_hp

skylib_fluffos_v3/mudlib/doc/new/living/adjust_max_hp · 464 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

.DT
adjust_max_hp
$MUDNAME$ living help
adjust_max_hp

Name
.SI 5
adjust_max_hp - adjusts the maximun hps.
.EI

Syntax
.SI 5
void adjust_max_hp(int mhp);
.EI

Description
.SP 5 5
This adjusts the maximun hps for the object.  The current hit points
are scaled.  This means if you set the max hps to say 100 from 50
the current hps were 25, when this function had finished the current
hps would be 25.
.EP

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

Site Stats

Snippets: 1791
Codebases: 571