Difference between revisions of "Manual:DIL Manual/position update()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(No difference)

Latest revision as of 13:08, 27 May 2020


position_update ( u : unitptr )
   u : A pointer to a player or a monster. The character will be
       updated and perhaps killed, incapacitated, mortally
       wounded, revived, etc. depending on current hitpoints.
       Useful when tampering with the 'hp' field. Example:
       pc.hp := pc.hp - 100;
       position_update(pc);