Build 10040
GIT-
Introduce actor event 'EVENT_PREACTORDAMAGE'
Show details
This event is executed when an actor runs A_IncurDamage(), and is placed just before subtracting 'htextra' from 'extra' and updating the actor's owner (i.e. just before damage is applied to the actor). For useractors, this normally occurs when ifhitweapon is called. Set RETURN to a nonzero value to skip applying the damage. This will also cause the 'ifhitweapon' conditional to skip the branch. Note that doing so will not automatically reset htextra to 0.
-
Add global gameflag "DUKE3D_GLOBAL_ADDITIVE_HITRADIUS"
Show details
If this flag is set, all radius damage sources will apply cumulative damage instead of overriding the existing accumulated damage. Equivalent to applying PROJECTILE_HITRADIUS_ADDITIVE to all explosions.
-
Add projectile WORKSLIKE flag PROJECTILE_HITRADIUS_ADDITIVE
Show details
This flag alters the radiusdamage calculation such that the blast damage is added to the current htextra of the actor, rather than overwriting the current applied damage completely.