{
    "anvil_cost": 1,
    "description": "Withered",
    "effects": {
      "minecraft:post_attack": [
        {
          "effect": {
            "type": "minecraft:apply_mob_effect",
            "to_apply": "minecraft:wither",
            "min_duration": 2,
            "max_duration": {
              "type": "minecraft:linear",
              "base": 2,
              "per_level_above_first": 0.5
            },
            "min_amplifier": 1,
            "max_amplifier": {
              "type": "minecraft:linear",
              "base": 1,
              "per_level_above_first": 1
            }
          },
          "enchanted": "attacker",
          "affected": "victim"
        }
      ]
    },
    "max_cost": {
      "base": 25,
      "per_level_above_first": 10
    },
    "max_level": 3,
    "min_cost": {
      "base": 5,
      "per_level_above_first": 10
    },
    "slots": [
      "mainhand"
    ],
    "supported_items": "#minecraft:enchantable/weapon",
    "weight": 8
  }