Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.1.1 / Item / Interactions / Weapons / Shield / Attacks / Block / Shield_Block.json

Shield_Block

Server/Item/Interactions/Weapons/Shield/Attacks/Block/Shield_Block.json, 683 B

Fields

FieldType
$Commentstring
Typestring
Costsobject
Nextobject
Failedstring

Source

{
  "$Comment": "The shield requires a certain amount of stamina to begin the blocking state",
  "Type": "StatsCondition",
  "Costs": {
    "Stamina": 2
  },
  "Next": {
    "Type": "EffectCondition",
    "EntityEffectIds": [
      "Stamina_Broken"
    ],
    "Match": "None",
    "Next": {
      "Type": "Simple",
      "$Comment": "Remove this delay again after the bug is fixed where the animation doesn't play",
      "RunTime": 0.05,
      "Next": {
        "Type": "Replace",
        "DefaultValue": {
          "Interactions": [
            "Shield_Block_Damage"
          ]
        },
        "Var": "Shield_Block_Damage"
      }
    }
  },
  "Failed": "Stamina_Bar_Flash"
}