Gets the attribute parameter of the player's currently-active HitDef. If the player is not in an attack state, then the condition does not trigger.

Can be used for simple move-interrupts from weaker to stronger attacks in the CMD file.

Format: HitDefAttr [oper] value1, value2

Arguments:

Return type: boolean (0 if false or 1 if true)

Error conditions: none

Notes:

Assuming the attribute of the player's HitDef is in the form: 'arg1, arg2' then the trigger condition is determined to be true only if arg1 is a subset of value1, AND arg2 is a subset of value2.

Example:

trigger1 = HitDefAttr = A, HA
; Triggers when the player is in an attack state, where
; the current HitDef has the following attributes:
; 1. is an aerial attack
; and 2. is a hyper (super) attack


trigger1 = HitDefAttr = SC, NA, SA
; Triggers when the player is in an attack state, where
; the current HitDef has the following attributes:
; 1. is either a standing or a crouching attack
; and 2. is either a normal attack or a special attack