{
  "exclusive_set": [],
  "anvil_cost": 1,
  "description": [
    {
      "text": "Mastery",
      "color": "gold"
    }
  ],
  "effects": {
    "minecraft:damage": [
      {
        "requirements": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "direct_attacker",
            "predicate": {
              "type": "#minecraft:arrows"
            }
          },
          {
            "condition": "minecraft:entity_scores",
            "entity": "attacker",
            "scores": {
              "limitbreak_chosen_class": 3
            }
          }
        ],
        "effect": {
          "type": "minecraft:add",
          "value": {
            "type": "minecraft:linear",
            "base": 1,
            "per_level_above_first": 1
          }
        }
      }
    ],
    "minecraft:ammo_use": [
      {
        "effect": {
          "type": "minecraft:set",
          "value": 0
        },
        "requirements": [
          {
            "condition": "minecraft:random_chance",
            "chance": {
              "amount": {
                "type": "minecraft:linear",
                "base": 0.5,
                "per_level_above_first": 0.05
              },
              "type": "minecraft:enchantment_level"
            }
          },
          {
            "condition": "minecraft:match_tool",
            "predicate": {
              "items": "minecraft:arrow"
            }
          }
        ]
      }
    ]
  },
  "max_cost": {
    "base": 16,
    "per_level_above_first": 10
  },
  "max_level": 25,
  "min_cost": {
    "base": 1,
    "per_level_above_first": 10
  },
  "slots": [
    "mainhand"
  ],
  "supported_items": [
    "minecraft:bow",
    "minecraft:crossbow"
  ],
  "weight": 10
}