Temporarily specifies types of hits that should not be allowed to hit the player.

Required parameters:

- value = attr_string OR value2 = attr_string
  Only one of the above parameters can be specified. attr_string should be a standard hit attribute string.

Optional parameters:

- time = effective_time (int)
  Specifies the number of game ticks that these NotHitBy attributes should be effective for. Defaults to 1.

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`