Versions / 0.6.0-pre.10 / Item / Interactions / Weapons / Unarmed / Attacks / Swing_Left / Unarmed_Swing_Left.json
Unarmed_Swing_Left
Server/Item/Interactions/Weapons/Unarmed/Attacks/Swing_Left/Unarmed_Swing_Left.json, 1.9 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Default",
"ItemAnimationId": "SwingLeft",
"WorldSoundEventId": "SFX_Unarmed_Swing",
"LocalSoundEventId": "SFX_Player_Unarmed_Swing_Left"
},
"RunTime": 0.111,
"Next": {
"Type": "Parallel",
"$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
"Interactions": [
{
"Interactions": [
{
"Type": "Selector",
"Effects": {
"CameraEffect": "Unarmed_Swing_Horizontal"
},
"$Comment": "Length of Combat",
"RunTime": 0.25,
"Selector": {
"Id": "Horizontal",
"Direction": "ToLeft",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.1,
"EndDistance": 2.5,
"Length": 30,
"RollOffset": 0,
"YawStartOffset": -15
},
"HitEntity": {
"Interactions": [
{
"Type": "DamageEntity",
"DamageCalculator": {
"BaseDamage": {
"Physical": 1
}
},
"Effects": {
"CameraEffect": "Impact_Light"
},
"DamageEffects": {
"WorldSoundEventId": "SFX_Unarmed_Impact",
"WorldParticles": [
{
"SystemId": "Impact_Unarmed"
}
]
}
}
]
}
}
]
},
{
"Interactions": [
{
"Type": "Condition",
"RequiredGameMode": "Adventure",
"Next": "Block_Break"
}
]
}
]
}
}