Versions / 0.4.1 / NPC / Roles / Elemental / Spirit / Component_Instruction_Attack_Sequence_Spirit.json
Component_Instruction_Attack_Sequence_Spirit
Server/NPC/Roles/Elemental/Spirit/Component_Instruction_Attack_Sequence_Spirit.json, 868 B
Fields
| Field | Type |
|---|---|
Class | string |
Interface | string |
Parameters | object |
Content | object |
Type | string |
Source
{
"Class": "Instruction",
"Interface": "Hytale.Instruction.AttackSequence",
"Parameters": {
"AttackDistance": {
"Value": 2,
"Description": "The distance at which an NPC will execute attacks"
},
"CombatRelativeTurnSpeed": {
"Value": 1.5,
"Description": "Modifier that decides turn speed difference in combat"
}
},
"Content": {
"Sensor": {
"Type": "Target",
"Range": { "Compute": "AttackDistance" },
"Filters": [
{
"Type": "LineOfSight"
}
]
},
"ActionsBlocking": true,
"Actions": [
{
"Type": "Attack",
"Attack": "Spirit_Root_Spore_Gas",
"AttackPauseRange": [ 1, 2 ]
}
],
"HeadMotion": {
"Type": "Aim",
"RelativeTurnSpeed": { "Compute": "CombatRelativeTurnSpeed" }
}
},
"Type": "Component"
}