Versions / 0.5.0-pre.8 / Item / Interactions / Weapons / Shield / Primary / Swing_Left / Shield_Swing_Left.json
Shield_Swing_Left
Server/Item/Interactions/Weapons/Shield/Primary/Swing_Left/Shield_Swing_Left.json, 2.0 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.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.05,
"Selector": {
"Id": "Stab",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendLeft": 0.5,
"ExtendRight": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 2.5
},
"HitBlock": {
"Interactions": [
"Block_Break_Adventure"
]
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Shield_Swing_Left_Damage"
]
},
"Var": "Shield_Swing_Left_Damage"
}
]
},
"Next": {
"Type": "ChangeStat",
"Next": {
"Type": "ApplyEffect",
"EffectId": "Stamina_Regen_Delay_Action",
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.2
}
},
"StatModifiers": {
"Stamina": -2
}
}
}
]
},
{
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Shield_Swing_Left_Effect"
]
},
"Var": "Shield_Swing_Left_Effect"
}
]
}
]
}
}