Versions / 0.5.6 / Item / Interactions / Weapons / Sword / Attacks / Deprecated / Stab / Sword_Stab.json
Sword_Stab
Server/Item/Interactions/Weapons/Sword/Attacks/Deprecated/Stab/Sword_Stab.json, 1.7 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemAnimationId": "Stab"
},
"$Comment": "Prepare Delay",
"RunTime": 0.167,
"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.083,
"Selector": {
"Id": "Stab",
"TestLineOfSight": true,
"ExtendTop": -0.075,
"ExtendLeft": 0.075,
"ExtendRight": 0.075,
"ExtendBottom": 0.225,
"StartDistance": 0.1,
"EndDistance": 3.5
},
"HitBlock": {
"Interactions": [
"Block_Break_Adventure"
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Sword_Stab_Damage"
]
},
"Var": "Sword_Stab_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.167
}
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Sword_Stab_Effect"
]
},
"Var": "Sword_Stab_Effect"
}
]
}
]
}
}