scoreboard players set @a crit_chance 1

#firework_stars
execute as @a[scores={lion_firework_star_t=1..}] run scoreboard players operation @s crit_chance += .20 number

##artifacts
#green
execute as @a if score .magnifying_glass artifact matches 1.. run scoreboard players operation .magnifying_glass artifact *= .10 number
execute as @a if score .magnifying_glass artifact matches 1.. run scoreboard players operation @s crit_chance += .magnifying_glass artifact
execute as @a if score .magnifying_glass artifact matches 1.. run scoreboard players operation .magnifying_glass artifact /= .10 number

#blue
#id16
execute if score .mining_helmet_tick artifact matches 1.. as @a run scoreboard players add @s crit_chance 15

#id25
execute if score .mining_helmet_tick artifact matches 1.. as @a run scoreboard players add @s crit_chance 15
execute if score .gearing artifact matches 1.. as @a run function main:mechanics/artifacts/id/blue/id25/calc

#golden
#id4
execute if score .focus_lense artifact matches 1.. as @a run scoreboard players add @s crit_chance 50