Hytale Asset ReferenceUnofficial
Versions / 0.5.0 / Item / Interactions / Weapons / Crossbow / Secondary / Guard / Weapon_Crossbow_Secondary_Guard.json

Weapon_Crossbow_Secondary_Guard

Server/Item/Interactions/Weapons/Crossbow/Secondary/Guard/Weapon_Crossbow_Secondary_Guard.json, 1.1 KB

Fields

FieldType
Typestring
Costsobject
Nextobject

Source

{
  "Type": "StatsCondition",
  "Costs": {
    "Stamina": 0.5
  },
  "Next": {
    "Type": "EffectCondition",
    "EntityEffectIds": [
      "Stamina_Broken"
    ],
    "Match": "None",
    "Next": {
      "Type": "Serial",
      "Interactions": [
        {
          "Type": "Replace",
          "Var": "Guard_Start_StaminaCost",
          "DefaultOk": true,
          "DefaultValue": {
            "Interactions": [
              {
                "Type": "ChangeStat",
                "StatModifiers": {
                  "Stamina": -0.5
                }
              }
            ]
          }
        },
        {
          "Type": "Replace",
          "Var": "Guard_Wield",
          "DefaultOk": true,
          "DefaultValue": {
            "Interactions": [
              "Weapon_Crossbow_Secondary_Guard_Wield"
            ]
          }
        }
      ]
    },
    "Failed": {
      "Type": "Replace",
      "Var": "Guard_Stamina_Insufficient",
      "DefaultOk": true,
      "DefaultValue": {
        "Interactions": [
          "Common_Stamina_Insufficient"
        ]
      }
    }
  }
}