Addphealth

From EDukeWiki
Revision as of 02:33, 25 October 2014 by Nexus (talk | contribs) (spelling)
Jump to navigation Jump to search

addphealth <number>

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

The game enforces limits on the health added with this command. This size of the limit is set by MAXPLAYERHEALTH for most actors. A MAXPLAYERATOMICHEALTH is defined in con but does not appear to be passed in through gamestartup. The atomic health definitely does have a higher limit but to find out where this is set from would require checking the source.

If the player given health is looking through a camera, the view is reset.