data merge entity @s {HandDropChances:[-327.670F,-327.670F],ArmorDropChances:[-327.670F,-327.670F,-327.670F,-327.670F],DeathLootTable:"next_level:death_table/generic_miniboss",Health:40f,Tags:["nl_Custom"],CustomName:'{"text":"Cactus Knight","color":"green","italic":false}',Attributes:[{Name:generic.maxHealth,Base:40}]}

loot replace entity @s armor.head loot next_level:gear/cactus/helmet
loot replace entity @s armor.chest loot next_level:gear/cactus/chestplate
loot replace entity @s armor.legs loot next_level:gear/cactus/leggings
loot replace entity @s armor.feet loot next_level:gear/cactus/boots

execute at @s run function next_level:mobs/rng

loot replace entity @s[scores={nl.Rng=0..70}] weapon.mainhand loot next_level:tools/cactus/sword
loot replace entity @s[scores={nl.Rng=71..100}] weapon.mainhand loot next_level:tools/cactus/axe
loot replace entity @s[scores={nl.Rng=90..100}] weapon.offhand loot next_level:tools/cactus/axe

function next_level:combat/enchantments/scan


