Versions / 0.6.0-pre.1.1 / Item / Interactions / Weapons / Spear / Attacks / Spin_Swing_Right / Spear_Spin_Swing_Right.json
Spear_Spin_Swing_Right
Server/Item/Interactions/Weapons/Spear/Attacks/Spin_Swing_Right/Spear_Spin_Swing_Right.json, 1.8 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemAnimationId": "SpinSwingRight"
},
"$Comment": "Prepare Delay",
"RunTime": 0.444,
"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.111,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 3.5,
"Length": 90,
"RollOffset": 0,
"YawStartOffset": -60
},
"HitBlock": {
"Interactions": [
"Block_Break_Adventure"
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Spear_Spin_Swing_Right_Damage"
]
},
"Var": "Spear_Spin_Swing_Right_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.445
}
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Spear_Spin_Swing_Right_Effect"
]
},
"Var": "Spear_Spin_Swing_Right_Effect"
}
]
}
]
}
}