Hytale Asset ReferenceUnofficial
Versions / 0.5.2 / Item / Interactions / Weapons / Club / Attacks / Swing_Down_Charged / Club_Swing_Down_Charged.json

Club_Swing_Down_Charged

Server/Item/Interactions/Weapons/Club/Attacks/Swing_Down_Charged/Club_Swing_Down_Charged.json, 1.8 KB

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemAnimationId": "SwingDownCharged"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0,
  "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.156,
            "Selector": {
              "Id": "Horizontal",
              "Direction": "ToLeft",
              "TestLineOfSight": true,
              "ExtendTop": 0.5,
              "ExtendBottom": 0.5,
              "StartDistance": 0.1,
              "EndDistance": 2.5,
              "Length": 105,
              "RollOffset": 75,
              "YawStartOffset": -45
            },
            "HitBlock": {
              "Interactions": [
                "Block_Break_Adventure"
              ]
            },
            "HitEntity": {
              "Interactions": [
                {
                  "Type": "Replace",
                  "DefaultValue": {
                    "Interactions": [
                      "Club_Swing_Down_Charged_Damage"
                    ]
                  },
                  "Var": "Club_Swing_Down_Charged_Damage"
                }
              ]
            },
            "Next": {
              "Type": "Simple",
              "$Comment": "Pad the interaction length",
              "RunTime": 0.178
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Club_Swing_Down_Charged_Effect"
              ]
            },
            "Var": "Club_Swing_Down_Charged_Effect"
          }
        ]
      }
    ]
  }
}