Hytale Asset ReferenceUnofficial
Versions / 0.5.7 / NPC / Roles / Intelligent / Neutral / Feran / Component_Instruction_Attack_Sequence_Feran_Windwalker.json

Component_Instruction_Attack_Sequence_Feran_Windwalker

Server/NPC/Roles/Intelligent/Neutral/Feran/Component_Instruction_Attack_Sequence_Feran_Windwalker.json, 1.5 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": {
    "TreeMode": true,
    "Instructions": [
      {
        "Sensor": {
          "Type": "Target",
          "Range": 4
        },
        "Actions": [
          {
            "Type": "Attack",
            "Attack": "Feran_Windwalker_Staff_Wind_Burst",
            "AttackPauseRange": [ 0.5, 1.5 ]
          }
        ],
        "HeadMotion": {
          "Type": "Aim",
          "RelativeTurnSpeed": { "Compute": "CombatRelativeTurnSpeed" }
        }
      },
      {
        "Sensor": {
          "Type": "Target",
          "Range": { "Compute": "AttackDistance" },
          "Filters": [
            {
              "Type": "LineOfSight"
            }
          ]
        },
        "Actions": [
          {
            "Type": "Attack",
            "Attack": "Feran_Windwalker_Staff_Wind_Vortex",
            "AimingTimeRange": [ 3, 3 ],
            "AttackPauseRange": [ 0.5, 1.5 ]
          }
        ],
        "HeadMotion": {
          "Type": "Aim",
          "Spread": 0.5,
          "HitProbability": 0.6,
          "RelativeTurnSpeed": { "Compute": "CombatRelativeTurnSpeed" }
        }
      }
    ]
  },
  "Type": "Component"
}