Versions / 0.6.0-pre.5 / Item / Interactions / NPCs / Elemental / Golem_Crystal / Golem_Crystal_Spin.json
Golem_Crystal_Spin
Server/Item/Interactions/NPCs/Elemental/Golem_Crystal/Golem_Crystal_Spin.json, 2.4 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Golem_Crystal_Earth_Default",
"ItemAnimationId": "Spin"
},
"$Comment": "Prepare Delay",
"RunTime": 0.717,
"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.25,
"Selector": {
"Id": "Horizontal",
"Direction": "ToLeft",
"TestLineOfSight": true,
"ExtendTop": 0,
"ExtendBottom": 2,
"StartDistance": 0.5,
"EndDistance": 3.25,
"Length": 360,
"RollOffset": 0,
"YawStartOffset": -90
},
"Next": {
"Type": "Selector",
"$Comment": "Length of Combat",
"RunTime": 0.25,
"Selector": {
"Id": "Horizontal",
"Direction": "ToLeft",
"TestLineOfSight": true,
"ExtendTop": 0,
"ExtendBottom": 2,
"StartDistance": 0.5,
"EndDistance": 3.25,
"Length": 360,
"RollOffset": 0,
"YawStartOffset": -90
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Golem_Crystal_Spin_Damage"
]
},
"Var": "Spin_Damage"
}
]
}
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"Golem_Crystal_Spin_Damage"
]
},
"Var": "Spin_Damage"
}
]
}
}
]
},
{
"Interactions": [
{
"Type": "Simple",
"$Comment": "Length of Effect",
"RunTime": 0.617,
"Effects": {
"WorldSoundEventId": "SFX_Golem_Earth_Swing"
}
}
]
}
]
}
}