is there a way to make increase the chance for each levels in enchant

Working on a custom enchantment but It doesn't increase the chances in this: m { "description": "Thunderstrike", "exclusive_set": "#minecraft:exclusive_set/damage", "supported_items": "#minecraft:enchantable/weapon", "primary_items": "#minecraft:enchantable/sword", "weight": 5, "max_level": 3, "min_cost": { "base": 5, "per_level_above_first": 10 }, "max_cost": { "base": 25, "per_level_above_first": 10 }, "anvil_cost": 2, "slots": [ "mainhand" ], "effects": { "minecraft:post_attack": [ { "enchanted": "attacker", "affected": "victim", "effect": { "type": "minecraft:summon_entity", "entity": "minecraft:lightning_bolt" }, "requirements": { "condition": "minecraft:random_chance", "chance": 0.1 } } ] } }
Continue to help post