Versions / 0.5.0-pre.9.2 / Item / Interactions / NPCs / Undead / Skeleton_Sand_Soldier / Skeleton_Sand_Soldier_Spear_Stab.json
Skeleton_Sand_Soldier_Spear_Stab
Server/Item/Interactions/NPCs/Undead/Skeleton_Sand_Soldier/Skeleton_Sand_Soldier_Spear_Stab.json, 2.0 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Skeleton_Spear",
"ItemAnimationId": "Stab"
},
"$Comment": "Prepare Delay",
"RunTime": 0.223,
"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.111,
"Selector": {
"Id": "Stab",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendLeft": 0.5,
"ExtendRight": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.5,
"EndDistance": 4
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"NPC_Attack_Melee_Damage"
]
},
"Var": "Melee_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.223
}
}
]
},
{
"Interactions": [
{
"Type": "Simple",
"$Comment": "Length of Effect",
"RunTime": 0.223,
"Effects": {
"Trails": [
{
"PositionOffset": {
"X": 1.4,
"Y": 0,
"Z": 0
},
"RotationOffset": {
"Pitch": 0,
"Roll": 90,
"Yaw": 0
},
"TargetNodeName": "Handle",
"TrailId": "Small_Default"
}
],
"WorldSoundEventId": "SFX_Light_Melee_T2_Swing"
}
}
]
}
]
}
}