Hytale Asset ReferenceUnofficial
Versions / 0.4.0 / NPC / Roles / Intelligent / Neutral / Feran / Component_Instruction_Attack_Sequence_Feran_Burrower.json

Component_Instruction_Attack_Sequence_Feran_Burrower

Server/NPC/Roles/Intelligent/Neutral/Feran/Component_Instruction_Attack_Sequence_Feran_Burrower.json, 1.1 KB

Fields

FieldType
Classstring
Interfacestring
Parametersobject
Contentobject
Typestring

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": "Feran_Sharptooth_Sword_Swing_Left",
        "AttackPauseRange": [ 0.5, 1.5 ]
      },
      {
        "Type": "Attack",
        "Attack": "Feran_Sharptooth_Sword_Swing_Right",
        "AttackPauseRange": [ 0.5, 1.5 ]
      },
      {
        "Type": "Attack",
        "Attack": "Feran_Sharptooth_Sword_Swing_Down",
        "AttackPauseRange": [ 0.5, 1.5 ]
      }
    ],
    "HeadMotion": {
      "Type": "Aim",
      "RelativeTurnSpeed": { "Compute": "CombatRelativeTurnSpeed" }
    }
  },
  "Type": "Component"
}