Versions / 0.6.0-pre.4 / Item / Interactions / NPCs / Elemental / Golem_Crystal / Golem_Crystal_Ground_Slam.json
Golem_Crystal_Ground_Slam
Server/Item/Interactions/NPCs/Elemental/Golem_Crystal/Golem_Crystal_Ground_Slam.json, 1.7 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Golem_Crystal_Earth_Default",
"ItemAnimationId": "GroundSlam"
},
"$Comment": "Prepare Delay",
"RunTime": 0.733,
"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.217,
"Selector": {
"Id": "Horizontal",
"Direction": "ToLeft",
"TestLineOfSight": true,
"ExtendTop": 1,
"ExtendBottom": 1,
"StartDistance": 1,
"EndDistance": 3.25,
"Length": 120,
"RollOffset": 90,
"YawStartOffset": -60
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Golem_Crystal_Ground_Slam_Damage"
]
},
"Var": "Ground_Slam_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.55
}
}
]
},
{
"Interactions": [
{
"Type": "Simple",
"$Comment": "Length of Effect",
"RunTime": 0.183,
"Effects": {
"WorldSoundEventId": "SFX_Golem_Earth_Swing"
}
}
]
}
]
}
}