Temporarily specifies types of hits that should not be allowed to hit the player.
Required parameters:
Optional parameters:
Details:
The player has two hit attribute slots, which can be set using the "value" or "value2" parameters to the NotHitBy controller. These slots can also be set by the HitBy controller. When a slot is set, it gets a timer (the effective time) which counts down toward zero.
If the timer has not yet reached zero, the slot is considered to be active. The player can be hit by a HitDef only if that HitDef's attribute appears in all currently active slots.
Using the NotHitBy controller sets the specified slot to contain all hit attributes except those specified in the NotHitBy attribute string.
Example:
; Not hit by anything
trigger1 = 1
type = NotHitBy
value = SCA
; Not hit by normal attacks, and all projectiles
trigger1 = 1
type = NotHitBy
value = , NA, AP