advancement revoke @s only vb:technical/hit_by_wraith

effect give @s minecraft:slowness 10 2
effect give @s minecraft:blindness 10 0
effect give @s minecraft:weakness 10 0

execute as @n[tag=vb.custom_mob.wraith] at @s run particle minecraft:campfire_signal_smoke ~ ~0.7 ~ 0.5 0.5 0.5 0.01 50
execute as @n[tag=vb.custom_mob.wraith] at @s run function vb:load_entity/kill