{
  "anvil_cost": 5,
  "description": "§a\uE006 Ambush",
  "effects": {
    "minecraft:damage": [
      {
        "effect": {
          "type": "minecraft:add",
          "value": {
            "type": "minecraft:linear",
            "base": 2,
            "per_level_above_first": 2
          }
        },
        "requirements": [
          {
            "condition": "minecraft:damage_source_properties",
            "predicate": {
              "is_direct": true
            }
          },
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "targeted_entity": {
                  "type": "minecraft:player"
                }
              }
            }
          }
        ]
      }
    ]
  },
  "exclusive_set": "#minecraft:exclusive_set/damage",
  "max_cost": {
    "base": 60,
    "per_level_above_first": 0
  },
  "max_level": 2,
  "min_cost": {
    "base": 28,
    "per_level_above_first": 0
  },
  "slots": [
    "mainhand"
  ],
  "supported_items": "#vb:enchantable/ambush",
  "weight": 2
}