A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/monster/set_hp
Lfun: set_hp - set the amount of hit points in a monster
Synopsis:
void set_hp(int hp)
Description:
The set_hp function sets the amount of hit points and the amount
of maximum hit points in a monster to hp.
Return value:
none
Examples:
set_hp(400);
Note:
Monsters get a default amount of hit points value via set_level
according to their level!
See also:
This page was generated in LPC
Imprint / Impressum