
tag @s add kattersstructures.the_staff_of_ages

schedule function kattersstructures:items/theron_spells/the_staff_of_ages_2 2t

execute as @s at @s unless predicate kattersstructures:entity/has_3_levels run tellraw @s {"fallback":"You don't have enough Level to cast this","translate":"item.kattersstructures.spells.no_level"}
execute as @s at @s if predicate kattersstructures:entity/has_3_levels run function kattersstructures:items/theron_spells/the_staff_of_ages_effect

advancement revoke @s only kattersstructures:technical/the_staff_of_ages
