Addphealth: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
 
Plugwash (talk | contribs)
No edit summary
Line 2: Line 2:


Adds <number> to the player's [[strength]]. <number> may be positive or negative.
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 definately does have a higer limit but to find out where this is set from would require checking the source.

Revision as of 02:21, 10 January 2005

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 definately does have a higer limit but to find out where this is set from would require checking the source.