Hytale Asset ReferenceUnofficial
Versions / 0.5.6 / Item / Interactions / Weapons / Daggers / Deprecated / Attacks / Backflip / Daggers_Backflip.json

Daggers_Backflip

Server/Item/Interactions/Weapons/Daggers/Deprecated/Attacks/Backflip/Daggers_Backflip.json, 1.6 KB

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemAnimationId": "Backflip"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0.2,
  "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.069,
            "Selector": {
              "Id": "Horizontal",
              "Direction": "ToRight",
              "TestLineOfSight": true,
              "ExtendTop": 0.75,
              "ExtendBottom": 0.75,
              "StartDistance": 0.1,
              "EndDistance": 3.75,
              "Length": 45,
              "RollOffset": 90,
              "YawStartOffset": -22.5
            },
            "Next": {
              "Type": "Simple",
              "$Comment": "Pad the interaction length",
              "RunTime": 0.042
            },
            "HitBlock": {
              "Interactions": [
                "Block_Break_Adventure"
              ]
            },
            "HitEntity": {
              "Interactions": [
                "Daggers_Backflip_Damage"
              ]
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "ApplyForce",
            "Direction": {
              "X": 0,
              "Y": 4,
              "Z": 5
            },
            "Force": 15
          }
        ]
      },
      {
        "Interactions": [
          "Daggers_Backflip_Effect"
        ]
      }
    ]
  }
}