execute store result score @s nl.Staff.Damage run data get entity @s SelectedItem.tag.Damage
scoreboard players add @s nl.Staff.Damage 1 

# Find air for sign to write Lore # 
execute at @s run summon minecraft:area_effect_cloud ~ 250 ~ {NoGravity:1,Tags:["nl_FindAir"]}
execute as @e[tag=nl_FindAir] at @s run function next_level:magic/find_air

# Set item in shulker box to replace player Selected Item # 
execute at @e[tag=nl_FindAir] run setblock ~ ~-1 ~ minecraft:brown_shulker_box replace
execute at @e[tag=nl_FindAir] run data modify block ~ ~-1 ~ Items insert 0 from entity @s SelectedItem
execute at @e[tag=nl_FindAir] store result block ~ ~-1 ~ Items.[0].tag.Damage double 1 run scoreboard players get @s nl.Staff.Damage
execute at @e[tag=nl_FindAir] run loot replace entity @s weapon.mainhand 1 mine ~ ~-1 ~ minecraft:stick{nl_contents:1b}
execute at @e[tag=nl_FindAir] run setblock ~ ~-1 ~ air

execute as @s[scores={nl.Staff.Damage=26..}] run replaceitem entity @s weapon.mainhand air
