Extra extra8: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
No edit summary
 
LordMisfit (talk | contribs)
No edit summary
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
This is initialized to zero. The [[player]] is given this amount of damage divded by 256 (shift right by 8). If no actual damage is done, then the value is not cleared. The actual damage applied to the player is modified by [[shield_amount]].
This is initialized to zero. The [[player]] is given this amount of damage divded by 256 (shift right by 8). If no actual damage is done, then the value is not cleared. The actual damage applied to the player is modified by [[shield_amount]]. This behavior can be intercepted in the [[EVENT_INCURDAMAGE]] [[events|event]]
 
[[Category:Player structure members]]

Revision as of 15:41, 4 November 2007

This is initialized to zero. The player is given this amount of damage divded by 256 (shift right by 8). If no actual damage is done, then the value is not cleared. The actual damage applied to the player is modified by shield_amount. This behavior can be intercepted in the EVENT_INCURDAMAGE event