HitBy/ja

From M.U.G.E.N Wiki

Jump to: navigation, search


This page is in progress of being translated to ja. You can help translating it or go to another language version that follows:



State Controller: HitBy

Temporarily specifies the types of hits that are be allowed hit to 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. See Details.
Optional parameters:
time = effective_time (int)
Specifies the number of game ticks that these HitBy 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 HitBy controller. These slots can also be set by the NotHitBy 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 HitBy controller sets the specified slot to contain only those hit attributes which appear in the HitBy attribute string.

Example:

; Can be hit only by standing normal attacks
trigger1 = 1
type = HitBy
value = S, NA


Personal tools