{
  "anvil_cost": 2,
  "description": {
    "translate": "enchantment.dnt.aerials_bane",
    "fallback": "Aerial's Bane"
  },
  "effects": {
    "minecraft:damage": [
      {
        "requirements": {
          "condition": "minecraft:all_of",
          "terms": [
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:entity_properties",
                "entity": "attacker",
                "predicate": {
                  "equipment": {
                    "mainhand": {
                      "items": [
                        "minecraft:bow",
                        "minecraft:crossbow"
                      ]
                    }
                  }
                }
              }
            },
            {
              "condition": "minecraft:any_of",
              "terms": [
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "flags": {
                      "is_on_ground": false
                    }
                  }
                },
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "type": "#nova_structures:sensitive_to_aerials_bane"
                  }
                }
              ]
            },
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:entity_properties",
                "entity": "this",
                "predicate": {
                  "location": {
                    "fluid": {
                      "fluids": "#minecraft:water"
                    }
                  }
                }
              }
            },
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:entity_properties",
                "entity": "this",
                "predicate": {
                  "vehicle": {}
                }
              }
            }
          ]
        },
        "effect": {
          "type": "minecraft:add",
          "value": {
            "type": "minecraft:linear",
            "base": 2,
            "per_level_above_first": 2
          }
        }
      },
      {
        "requirements": {
          "condition": "minecraft:all_of",
          "terms": [
            {
              "condition": "minecraft:entity_properties",
              "entity": "attacker",
              "predicate": {
                "equipment": {
                  "mainhand": {
                    "items": [
                      "minecraft:bow",
                      "minecraft:crossbow"
                    ]
                  }
                }
              }
            },
            {
              "condition": "minecraft:entity_properties",
              "entity": "direct_attacker",
              "predicate": {
                "type": "#minecraft:arrows"
              }
            },
            {
              "condition": "minecraft:any_of",
              "terms": [
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "flags": {
                      "is_on_ground": false
                    }
                  }
                },
                {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "type": "#nova_structures:sensitive_to_aerials_bane"
                  }
                }
              ]
            },
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:entity_properties",
                "entity": "this",
                "predicate": {
                  "location": {
                    "fluid": {
                      "fluids": "#minecraft:water"
                    }
                  }
                }
              }
            },
            {
              "condition": "minecraft:inverted",
              "term": {
                "condition": "minecraft:entity_properties",
                "entity": "this",
                "predicate": {
                  "vehicle": {}
                }
              }
            }
          ]
        },
        "effect": {
          "type": "minecraft:add",
          "value": {
            "type": "minecraft:linear",
            "base": 2,
            "per_level_above_first": 1
          }
        }
      }
    ]
  },
  "exclusive_set": "#nova_structures:exclusive_set/powah",
  "max_cost": {
    "base": 15,
    "per_level_above_first": 7
  },
  "max_level": 5,
  "min_cost": {
    "base": 5,
    "per_level_above_first": 7
  },
  "slots": [
    "mainhand"
  ],
  "supported_items": "#nova_structures:enchantable/combat_tools",
  "weight": 1
}