Addphealth

From EDukeWiki
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.