Addphealth

From EDukeWiki
Revision as of 23:59, 10 January 2021 by Doom64hunter (talk | contribs) (MAXPLAYERATOMICHEALTH doesn't exist. Add formatting and reword.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

addphealth <amount>

Adds <amount> to the player's strength. The <amount> may be positive or negative.

The player's health cannot exceed MAXPLAYERHEALTH using this command, unless it is called from actor ATOMICHEALTH (tilenum 100) in which case it is limited to 2 * MAXPLAYERHEALTH.

Additionally, if the player is given health while looking through a viewscreen camera, the camera view is interrupted.