Versions / 0.6.0-pre.4 / Item / Interactions / Weapons / Club / Attacks / Flail_Swing_Right / Club_Flail_Swing_Right.json
Club_Flail_Swing_Right
Server/Item/Interactions/Weapons/Club/Attacks/Flail_Swing_Right/Club_Flail_Swing_Right.json, 1.8 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemAnimationId": "SwingRight"
},
"$Comment": "Prepare Delay",
"RunTime": 0.289,
"Next": {
"Type": "Parallel",
"$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
"Interactions": [
{
"Interactions": [
{
"Type": "Selector",
"$Comment": "Length of Combat",
"RunTime": 0.2,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 2.5,
"Length": 90,
"RollOffset": 15,
"YawStartOffset": -45
},
"HitBlock": {
"Interactions": [
"Block_Break_Adventure"
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Club_Flail_Swing_Right_Damage"
]
},
"Var": "Club_Flail_Swing_Right_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.177
}
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Club_Flail_Swing_Right_Effect"
]
},
"Var": "Club_Flail_Swing_Right_Effect"
}
]
}
]
}
}