scoreboard players set min rng 0
scoreboard players set max rng 1500
function rng:interval

execute if score global curse <= out rng run scoreboard players set summon_cursed EB_generic 0
execute if score global curse > out rng run scoreboard players set summon_cursed EB_generic 1
