Hytale Asset ReferenceUnofficial
Versions / 0.5.7 / Item / Interactions / Weapons / Axe / Attacks / Swing_Down / Axe_Swing_Down.json

Axe_Swing_Down

Server/Item/Interactions/Weapons/Axe/Attacks/Swing_Down/Axe_Swing_Down.json, 1.8 KB

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemAnimationId": "SwingDown"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0.244,
  "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.133,
            "Selector": {
              "Id": "Horizontal",
              "Direction": "ToLeft",
              "TestLineOfSight": true,
              "ExtendTop": 0.5,
              "ExtendBottom": 0.5,
              "StartDistance": 0.1,
              "EndDistance": 2.5,
              "Length": 60,
              "RollOffset": 85,
              "YawStartOffset": -30
            },
            "HitBlock": {
              "Interactions": [
                "Block_Break_Adventure"
              ]
            },
            "HitEntity": {
              "Interactions": [
                {
                  "Type": "Replace",
                  "DefaultValue": {
                    "Interactions": [
                      "Axe_Swing_Down_Damage"
                    ]
                  },
                  "Var": "Axe_Swing_Down_Damage"
                }
              ]
            },
            "Next": {
              "Type": "Simple",
              "$Comment": "Pad the interaction length",
              "RunTime": 0.178
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Axe_Swing_Down_Effect"
              ]
            },
            "Var": "Axe_Swing_Down_Effect"
          }
        ]
      }
    ]
  }
}