Hytale Asset ReferenceUnofficial
Versions / 0.5.4 / Item / Interactions / NPCs / ComboInteraction / NPC_Attack_Selector2.json

NPC_Attack_Selector2

Server/Item/Interactions/NPCs/ComboInteraction/NPC_Attack_Selector2.json, 685 B

Fields

FieldType
Typestring
$Commentstring
RunTimenumber
Selectorobject
HitEntityobject
Nextobject

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
  }
}