{
  "description": {
    "translate": "ring.nuclear.enchantment"
  },
  "supported_items": "minecraft:ghast_tear",
  "weight": 1,
  "max_level": 5,
  "min_cost": {
    "base": 0,
    "per_level_above_first": 0
  },
  "max_cost": {
    "base": 0,
    "per_level_above_first": 0
  },
  "anvil_cost": 0,
  "slots": [
    "hand"
  ],
  "effects": {
    "minecraft:post_attack": [
      {
        "effect": {
          "type": "minecraft:explode",
          "attribute_to_user": false,
          "damage_type": "minecraft:explosion",
          "immune_blocks": "#ws:all",
          "knockback_multiplier": 0,
          "radius": {
            "type": "minecraft:linear",
            "base": 2,
            "per_level_above_first": 3
          },
          "create_fire": false,
          "block_interaction": "none",
          "small_particle": {
            "type": "minecraft:explosion"
          },
          "large_particle": {
            "type": "minecraft:explosion_emitter"
          },
          "sound": "minecraft:entity.dragon_fireball.explode"
        },
        "enchanted": "victim",
        "affected": "victim"
      }
    ],
    "minecraft:tick": [
      {
        "requirements": {
          "condition": "minecraft:random_chance",
          "chance": {
            "type": "minecraft:enchantment_level",
            "amount": {
              "type": "minecraft:linear",
              "base": 0.05,
              "per_level_above_first": 0.05
            }
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "ws:item/ring/nuclear"
        }
      }
    ]
  }
}