Versions / 0.5.0-pre.9.2 / Item / Interactions / NPCs / Intelligent / Goblin / Swings / Attacks / Goblin_Ogre_Swing_Right.json
Goblin_Ogre_Swing_Right
Server/Item/Interactions/NPCs/Intelligent/Goblin/Swings/Attacks/Goblin_Ogre_Swing_Right.json, 1008 B
Fields
| Field | Type |
|---|---|
Type | string |
Effects | object |
$Comment | string |
RunTime | number |
Next | object |
Source
{
"Type": "Simple",
"Effects": {
"ItemPlayerAnimationsId": "Goblin_Club",
"ItemAnimationId": "SwingRight"
},
"$Comment": "Prepare Delay",
"RunTime": 0.2,
"Next":
{
"Type": "Selector",
"$Comment": "Length of Combat",
"RunTime": 0.25,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 2,
"StartDistance": 0.1,
"EndDistance": 3.5,
"Length": 60,
"RollOffset": 0,
"YawStartOffset": -30
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"NPC_Attack_Melee_Damage"
]
},
"Var": "Melee_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.1
}
}
}