Hytale Asset ReferenceUnofficial
Versions / 0.5.5 / Item / Interactions / NPCs / Beast / Scorpion / Scorpion_Snap_Right.json

Scorpion_Snap_Right

Server/Item/Interactions/NPCs/Beast/Scorpion/Scorpion_Snap_Right.json, 1021 B

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemPlayerAnimationsId": "Scorpion_Default",
    "ItemAnimationId": "SnapRight"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0.25,
  "Next": {
    "Type": "Selector",
    "Effects": {
      "WorldSoundEventId": "SFX_NPC_Unarmed_Swing"
    },
    "$Comment": "Length of Combat",
    "RunTime": 0.117,
    "Selector": {
      "Id": "Horizontal",
      "Direction": "ToLeft",
      "TestLineOfSight": true,
      "ExtendTop": 0.5,
      "ExtendBottom": 0.5,
      "StartDistance": 0.5,
      "EndDistance": 3,
      "Length": 45,
      "RollOffset": 0,
      "YawStartOffset": -45
    },
    "HitEntity": {
      "Interactions": [
        {
          "Type": "Replace",
          "DefaultValue": {
            "Interactions": [
              "Scorpion_Snap_Right_Damage"
            ]
          },
          "Var": "Snap_Right_Damage"
        }
      ]
    },
    "Next": {
      "Type": "Simple",
      "$Comment": "Pad the interaction length",
      "RunTime": 0.3
    }
  }
}