function items:obj/electric_charge/electrocute/ray_loop

scoreboard players set duration n_effects 22
execute as @e[tag=mrcd_target_entity,tag=mrcd_target] run function effects:electric_charge/give
tag @e[tag=mrcd_target_entity] remove mrcd_target_entity
