Versions / 0.5.7 / NPC / Roles / Undead / Zombie / Components / Component_Instruction_Attack_Sequence_Zombie_Frost.json
Component_Instruction_Attack_Sequence_Zombie_Frost
Server/NPC/Roles/Undead/Zombie/Components/Component_Instruction_Attack_Sequence_Zombie_Frost.json, 1.2 KB
Fields
| Field | Type |
|---|---|
Class | string |
Interface | string |
Parameters | object |
Content | object |
Type | string |
Source
{
"Class": "Instruction",
"Interface": "Hytale.Instruction.AttackSequence",
"Parameters": {
"AttackDistance": {
"Value": 3.25,
"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": "Zombie_Frost_Swing_Left",
"AttackPauseRange": [ 0.5, 1.5 ]
},
{
"Type": "Attack",
"Attack": "Zombie_Frost_Swing_Right",
"AttackPauseRange": [ 0.5, 1.5 ]
},
{
"Type": "Attack",
"Attack": "Zombie_Frost_Bite",
"AttackPauseRange": [ 0.5, 1.5 ]
},
{
"Type": "Attack",
"Attack": "Zombie_Frost_Swing_Double",
"AttackPauseRange": [ 0.5, 1.5 ]
}
],
"HeadMotion": {
"Type": "Aim",
"RelativeTurnSpeed": { "Compute": "CombatRelativeTurnSpeed" }
}
},
"Type": "Component"
}