Versions / 0.6.0-pre.9 / Item / Interactions / NPCs / Beast / Wurmling_Frost / Wurmling_Frost_Bite.json
Wurmling_Frost_Bite
Server/Item/Interactions/NPCs/Beast/Wurmling_Frost/Wurmling_Frost_Bite.json, 1.7 KB
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Wurmling_Frost_Default",
"ItemAnimationId": "Bite"
},
"$Comment": "Prepare Delay",
"RunTime": 0.217,
"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.117,
"Selector": {
"Id": "Horizontal",
"Direction": "ToLeft",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 0.5,
"EndDistance": 2,
"Length": 30,
"RollOffset": -90,
"YawStartOffset": -15
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"NPC_Attack_Melee_Damage"
]
},
"Var": "Melee_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.166
}
}
]
},
{
"Interactions": [
{
"Type": "Simple",
"$Comment": "Length of Effect",
"RunTime": 0.167,
"Effects": {
"WorldSoundEventId": "SFX_NPC_Unarmed_Swing"
}
}
]
}
]
}
}