{
  "anvil_cost": 99,
  "description": {
    "text": "Polymorph Bolt",
    "color": "gray"
  },
  "effects": {
    "minecraft:post_attack": [
      {
        "requirements": {
          "condition": "minecraft:entity_properties",
          "entity": "direct_attacker",
          "predicate": {
            "type": "#minecraft:arrows"
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "survivalplus:tools/poly/sort"
        },
        "enchanted": "attacker",
        "affected": "victim"
      }
    ],
    "minecraft:item_damage": [
      {
        "effect": {
          "type": "minecraft:add",
          "value": 39
        }
      }
    ],
    "minecraft:projectile_spawned": [
      {
        "effect": {
          "type": "minecraft:run_function",
          "function": "survivalplus:tools/archer/arrow/polybolt"
        }
      }
    ]
  },
  "max_cost": {
    "base": 99,
    "per_level_above_first": 0
  },
  "max_level": 1,
  "min_cost": {
    "base": 99,
    "per_level_above_first": 0
  },
  "slots": [
    "mainhand"
  ],
  "supported_items": "#minecraft:enchantable/bow",
  "weight": 906
}