Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.6 / Item / Interactions / NPCs / Intelligent / Outlander_Brute / Outlander_Brute_Grab.json

Outlander_Brute_Grab

Server/Item/Interactions/NPCs/Intelligent/Outlander_Brute/Outlander_Brute_Grab.json, 1.7 KB

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemPlayerAnimationsId": "Outlander_Brute_Default",
    "ItemAnimationId": "Grab"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0.417,
  "Next": {
    "Type": "Parallel",
    "$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
    "Interactions": [
      {
        "Interactions": [
          {
            "Type": "Selector",
            "$Comment": "Length of Combat",
            "RunTime": 0.25,
            "Selector": {
              "Id": "Horizontal",
              "Direction": "ToRight",
              "TestLineOfSight": true,
              "ExtendTop": 0.5,
              "ExtendBottom": 1.5,
              "StartDistance": 0.75,
              "EndDistance": 3.5,
              "Length": 120,
              "RollOffset": 0,
              "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.333
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Simple",
            "$Comment": "Length of Effect",
            "RunTime": 0.333,
            "Effects": {
              "WorldSoundEventId": "SFX_Light_Melee_T2_Swing"
            }
          }
        ]
      }
    ]
  }
}