Versions / 0.5.2 / Item / Interactions / Weapons / Longsword / Attacks / Swing_Left / Longsword_Swing_Left.json
Longsword_Swing_Left
Server/Item/Interactions/Weapons/Longsword/Attacks/Swing_Left/Longsword_Swing_Left.json, 1.8 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemAnimationId": "SwingLeft"
},
"$Comment": "Prepare Delay",
"RunTime": 0.229,
"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.104,
"Selector": {
"Id": "Horizontal",
"Direction": "ToLeft",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 3,
"Length": 60,
"RollOffset": 40,
"YawStartOffset": -30
},
"HitBlock": {
"Interactions": [
"Block_Break_Adventure"
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Longsword_Swing_Left_Damage"
]
},
"Var": "Longsword_Swing_Left_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.187
}
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Longsword_Swing_Left_Effect"
]
},
"Var": "Longsword_Swing_Left_Effect"
}
]
}
]
}
}