#execute at @s run say test
execute at @s run loot spawn ~ ~ ~ loot next_level:custom_blocks/enchant_roll
execute at @s store result score @s nl.Rng at @s run data get entity @e[type=minecraft:item,distance=..1,limit=1,nbt={Item:{tag:{nl_roll100:1b}}}] Item.tag.AttributeModifiers.[0].Amount
kill @e[limit=1,nbt={Item:{tag:{nl_roll100:1b}}}]

execute as @s[scores={nl.Rng=..30}] unless score @s nl.DMG.Infect matches 1.. run scoreboard players add @s nl.DMG.Infect 60
