particle enchanted_hit ~ ~.5 ~ .7 .5 .7 .1 3 force
particle dust 0.878 0.878 0.396 1 ~ ~.5 ~ .7 .5 .7 .1 3 force
particle dust 0.980 0.957 0.341 1 ~ ~.5 ~ .7 .5 .7 .1 3 force

function rng:percentage
execute if entity @s[nbt={Age:10}] run function items:obj/zeus_discharge/discharge
execute if entity @s[nbt={Age:25}] if score out rng matches ..30 run function items:obj/zeus_discharge/discharge
execute if entity @s[nbt={Age:40}] if score out rng matches ..25 run function items:obj/zeus_discharge/discharge
execute if entity @s[nbt={Age:65}] if score out rng matches ..30 run function items:obj/zeus_discharge/discharge
execute if entity @s[nbt={Age:80}] if score out rng matches ..25 run function items:obj/zeus_discharge/discharge
execute if entity @s[nbt={Age:95}] if score out rng matches ..30 run function items:obj/zeus_discharge/discharge
