Hytale Asset ReferenceUnofficial
Versions / 0.5.1 / Item / Interactions / Weapons / Stick / Swing_Left_Fast / Stick_Swing_Left_Fast.json

Stick_Swing_Left_Fast

Server/Item/Interactions/Weapons/Stick/Swing_Left_Fast/Stick_Swing_Left_Fast.json, 2.0 KB

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
HorizontalSpeedMultipliernumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemAnimationId": "SwingLeft",
    "Particles": [
      {
        "SystemId": "Empty"
      }
    ]
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0.18,
  "HorizontalSpeedMultiplier": 0.8,
  "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.05,
            "HorizontalSpeedMultiplier": 0.8,
            "Selector": {
              "Id": "Horizontal",
              "Direction": "ToLeft",
              "TestLineOfSight": true,
              "ExtendTop": 0.5,
              "ExtendBottom": 0.5,
              "StartDistance": 0.1,
              "EndDistance": 2.25,
              "Length": 110,
              "RollOffset": 25,
              "YawStartOffset": -55
            },
            "HitBlock": {
              "Interactions": [
                "Block_Break_Adventure"
              ]
            },
            "HitEntity": {
              "Interactions": [
                {
                  "Type": "Replace",
                  "DefaultValue": {
                    "Interactions": [
                      "Stick_Swing_Left_Fast_Damage"
                    ]
                  },
                  "Var": "Stick_Swing_Left_Fast_Damage"
                }
              ]
            },
            "Next": {
              "Type": "Simple",
              "$Comment": "Pad the interaction length",
              "RunTime": 0.1,
              "HorizontalSpeedMultiplier": 0.8
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Replace",
            "DefaultValue": {
              "Interactions": [
                "Stick_Swing_Left_Fast_Effect"
              ]
            },
            "Var": "Stick_Swing_Left_Fast_Effect"
          }
        ]
      }
    ]
  }
}