Hytale Asset ReferenceUnofficial
Versions / 0.5.5 / Item / Interactions / Weapons / Battleaxe / Deprecated / Attacks / Downstrike_Charged / Battleaxe_Downstrike_Charged.json

Battleaxe_Downstrike_Charged

Server/Item/Interactions/Weapons/Battleaxe/Deprecated/Attacks/Downstrike_Charged/Battleaxe_Downstrike_Charged.json, 2.7 KB

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemAnimationId": "DownstrikeLeap",
    "CameraEffect": "Battleaxe_Downstrike_Jump"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0,
  "Next": {
    "Type": "ApplyForce",
    "Direction": {
      "X": 0,
      "Y": 5,
      "Z": -5
    },
    "AdjustVertical": false,
    "WaitForGround": true,
    "Force": 25,
    "ChangeVelocityType": "Set",
    "VelocityConfig": {
      "AirResistance": 0.97,
      "AirResistanceMax": 0.96,
      "GroundResistance": 0.94,
      "GroundResistanceMax": 0.82,
      "Threshold": 3.0,
      "Style": "Exp"
    },
    "Next": {
      "Type": "Parallel",
      "$Comment": "Make sure this parallel interaction is needed and can't be optimized away",
      "Interactions": [
        {
          "Interactions": [
            {
              "Type": "Simple",
              "$Comment": "Prepare Delay",
              "RunTime": 0,
              "Effects": {
                "ItemAnimationId": "DownstrikeCharged"
              }
            }
          ]
        },
        {
          "Interactions": [
            {
              "Type": "Selector",
              "$Comment": "Length of Combat",
              "RunTime": 0.083,
              "Selector": {
                "Id": "Horizontal",
                "Direction": "ToLeft",
                "TestLineOfSight": true,
                "ExtendTop": 0.5,
                "ExtendBottom": 0.5,
                "StartDistance": 0.1,
                "EndDistance": 3,
                "Length": 120,
                "RollOffset": 90,
                "YawStartOffset": -60
              },
              "HitBlock": {
                "Interactions": [
                  "Block_Break_Adventure"
                ]
              },
              "HitEntity": {
                "Interactions": [
                  {
                    "Type": "Replace",
                    "DefaultValue": {
                      "Interactions": [
                        "Battleaxe_Downstrike_Charged_Damage"
                      ]
                    },
                    "Var": "Battleaxe_Downstrike_Charged_Damage"
                  }
                ]
              },
              "Next": {
                "Type": "Simple",
                "$Comment": "Pad the interaction length",
                "RunTime": 0.199
              }
            }
          ]
        },
        {
          "Interactions": [
            {
              "Type": "Replace",
              "DefaultValue": {
                "Interactions": [
                  "Battleaxe_Downstrike_Charged_Effect"
                ]
              },
              "Var": "Battleaxe_Downstrike_Charged_Effect"
            }
          ]
        }
      ]
    }
  }
}