Versions / 0.4.0 / Item / Interactions / Weapons / Battleaxe / Deprecated / Attacks / Swing_Right / Battleaxe_Swing_Right.json
Battleaxe_Swing_Right
Server/Item/Interactions/Weapons/Battleaxe/Deprecated/Attacks/Swing_Right/Battleaxe_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.4,
"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.15,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 3,
"Length": 90,
"RollOffset": 0,
"YawStartOffset": -45
},
"HitBlock": {
"Interactions": [
"Block_Break_Adventure"
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Battleaxe_Swing_Up_Right_Damage"
]
},
"Var": "Battleaxe_Swing_Up_Right_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.45
}
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Battleaxe_Swing_Right_Effect"
]
},
"Var": "Battleaxe_Swing_Right_Effect"
}
]
}
]
}
}