execute as @a[predicate=survivalplus:tomes/necro] run tag @s add necrotome
execute as @a[predicate=survivalplus:tomes/necro] at @s at @e[type=!#survivalplus:notalive,distance=..5] run particle witch ~ ~.1 ~ .2 0 .2 0 2 normal @s
execute as @a[predicate=survivalplus:tomes/necro,scores={sanity=..-20}] at @s at @e[tag=shadow,distance=..5] run particle witch ~ ~.1 ~ .2 0 .2 0 2 normal @s
execute as @a[tag=necrotome,scores={usetome=1..}] at @s run function survivalplus:tools/tomes/necro
execute as @a[scores={usetome=1..}] run scoreboard players reset @s usetome