Versions / 0.4.1 / Item / Interactions / Weapons / Stick / Swing_Right_Fast / Stick_Swing_Right_Fast.json
Stick_Swing_Right_Fast
Server/Item/Interactions/Weapons/Stick/Swing_Right_Fast/Stick_Swing_Right_Fast.json, 2.0 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
HorizontalSpeedMultiplier | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemAnimationId": "SwingRight",
"Particles": [
{
"SystemId": "Empty"
}
]
},
"$Comment": "Prepare Delay",
"RunTime": 0.18,
"HorizontalSpeedMultiplier": 0.8,
"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.05,
"HorizontalSpeedMultiplier": 0.8,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 2.25,
"Length": 110,
"RollOffset": 25,
"YawStartOffset": -55
},
"HitBlock": {
"Interactions": [
"Block_Break_Adventure"
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Stick_Swing_Right_Fast_Damage"
]
},
"Var": "Stick_Swing_Right_Fast_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.5,
"HorizontalSpeedMultiplier": 0.8
}
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Stick_Swing_Right_Fast_Effect"
]
},
"Var": "Stick_Swing_Right_Fast_Effect"
}
]
}
]
}
}