Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.9 / Item / Interactions / Weapons / Crossbow / Primary / Weapon_Crossbow_Primary_Reload.json

Weapon_Crossbow_Primary_Reload

Server/Item/Interactions/Weapons/Crossbow/Primary/Weapon_Crossbow_Primary_Reload.json, 629 B

Fields

FieldType
Typestring
Thresholdnumber
Operatorstring
Nextobject

Source

{
  "Type": "DurabilityCondition",
  "Threshold": 0,
  "Operator": "GreaterThan",
  "Next": {
    "Type": "StatsCondition",
    "Costs": {
      "Ammo": 1
    },
    "Failed": {
      "Type": "Replace",
      "Var": "Reload_Start",
      "DefaultValue": "Root_Common_StatAmmoReload_Entry"
    },
    "Next": {
      "Type": "ChangeStat",
      "StatModifiers": {
        "Ammo": -1
      },
      "Next": {
        "Type": "Replace",
        "Var": "Standard_Projectile_Launch",
        "DefaultValue": {
          "Interactions": [
            "Weapon_Crossbow_Shot_Standard_Projectile"
          ]
        }
      }
    }
  }
}