Versions / 0.6.0-pre.9.1 / Item / Interactions / NPCs / ComboInteraction / NPC_Attack_Selector2.json
NPC_Attack_Selector2
Server/Item/Interactions/NPCs/ComboInteraction/NPC_Attack_Selector2.json, 685 B
Fields
| Field | Type |
|---|---|
Type | string |
$Comment | string |
RunTime | number |
Selector | object |
HitEntity | object |
Next | object |
Source
{
"Type": "Selector",
"$Comment": "Length of Combat",
"RunTime": 0.25,
"Selector": {
"Id": "Horizontal",
"Direction": "ToRight",
"TestLineOfSight": true,
"ExtendTop": 0.5,
"ExtendBottom": 0.5,
"StartDistance": 1,
"EndDistance": 3.5,
"Length": 160,
"RollOffset": -15,
"YawStartOffset": -90
},
"HitEntity": {
"Interactions": [
{
"Type": "Replace",
"DefaultValue": {
"Interactions": [
"NPC_Attack_Melee_Damage"
]
},
"Var": "Melee_Damage"
}
]
},
"Next": {
"Type": "Simple",
"$Comment": "Pad the interaction length",
"RunTime": 0.25
}
}