PROJ EXTRA RAND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
That finishes off the projectile structure members.
 
No edit summary
Line 1: Line 1:
This is a value that is randomly added to the projectile's [[PROJ_EXTRA|extra]] according to this code in the source:
This seems to be a value that is added to the damage (normally defined by [[PROJ_EXTRA|extra]]) when a actor other than the player is hit.
 
                            if (thisprojectile[i].extra_rand > 0)
                                s->extra += (TRAND&thisprojectile[i].extra_rand);


[[Category:Projectile_structure_members]]
[[Category:Projectile_structure_members]]

Revision as of 23:24, 29 May 2008

This seems to be a value that is added to the damage (normally defined by extra) when a actor other than the player is hit.