Hytale Asset ReferenceUnofficial
Versions / 0.5.0-pre.9 / Item / Interactions / NPCs / Undead / Skeleton_Fighter / Skeleton_Fighter_Club_Swing_Down.json

Skeleton_Fighter_Club_Swing_Down

Server/Item/Interactions/NPCs/Undead/Skeleton_Fighter/Skeleton_Fighter_Club_Swing_Down.json, 2.1 KB

Fields

FieldType
Typestring
Effectsobject
$Commentstring
RunTimenumber
Nextobject

Source

{
  "Type": "Simple",
  "Effects": {
    "ItemPlayerAnimationsId": "Skeleton_Club",
    "ItemAnimationId": "SwingDown"
  },
  "$Comment": "Prepare Delay",
  "RunTime": 0.267,
  "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.111,
            "Selector": {
              "Id": "Horizontal",
              "Direction": "ToLeft",
              "TestLineOfSight": true,
              "ExtendTop": 0.5,
              "ExtendBottom": 0.5,
              "StartDistance": 0.5,
              "EndDistance": 3.5,
              "Length": 90,
              "RollOffset": 75,
              "YawStartOffset": -45
            },
            "HitEntity": {
              "Interactions": [
                {
                  "Type": "Replace",
                  "DefaultValue": {
                    "Interactions": [
                      "NPC_Attack_Melee_Damage"
                    ]
                  },
                  "Var": "Melee_Damage"
                }
              ]
            },
            "Next": {
              "Type": "Simple",
              "$Comment": "Pad the interaction length",
              "RunTime": 0.178
            }
          }
        ]
      },
      {
        "Interactions": [
          {
            "Type": "Simple",
            "$Comment": "Length of Effect",
            "RunTime": 0.223,
            "Effects": {
              "Trails": [
                {
                  "PositionOffset": {
                    "X": 0.8,
                    "Y": 0,
                    "Z": 0
                  },
                  "RotationOffset": {
                    "Pitch": 0,
                    "Roll": 90,
                    "Yaw": 0
                  },
                  "TargetNodeName": "Handle",
                  "TrailId": "Medium_Default"
                }
              ],
              "WorldSoundEventId": "SFX_Light_Melee_T2_Swing"
            }
          }
        ]
      }
    ]
  }
}