{
  "anvil_cost": 2,
  "description": {
    "text": "⛈ Lightning Immunity",
    "color": "#6BFAFF"
  },
  "effects": {
    "minecraft:damage_protection": [
      {
        "effect": {
          "type": "minecraft:add",
          "value": {
            "type": "minecraft:linear",
            "base": 999,
            "per_level_above_first": 999
          }
        },
        "requirements": {
          "condition": "minecraft:all_of",
          "terms": [
            {
              "condition": "minecraft:damage_source_properties",
              "predicate": {
                "tags": [
                  {
                    "expected": true,
                    "id": "minecraft:is_lightning"
                  },
                  {
                    "expected": false,
                    "id": "minecraft:bypasses_invulnerability"
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },
  "exclusive_set": "#minecraft:exclusive_set/armor",
  "max_cost": {
    "base": 18,
    "per_level_above_first": 8
  },
  "max_level": 1,
  "min_cost": {
    "base": 10,
    "per_level_above_first": 8
  },
  "slots": [
    "armor"
  ],
  "supported_items": "#minecraft:enchantable/armor",
  "weight": 5
}