scoreboard players remove @s mana 4
function sorcerersbook:mana

summon area_effect_cloud ~ ~ ~ {Tags:["BOUNCEABLE","PULSE_MISSILE","PULSE_MISSILE_INIT"],Duration:100}
tp @e[tag=PULSE_MISSILE_INIT] @s
tp @e[tag=PULSE_MISSILE_INIT] ~ ~1 ~

execute @e[tag=PULSE_MISSILE_INIT] ~ ~ ~ function cmdblockpl:ray/get_unit_vector

scoreboard players tag @e[tag=PULSE_MISSILE_INIT] remove PULSE_MISSILE_INIT

tellraw @a[score_showSpellMessage=1,score_showSpellMessage_min=1] ["",{"selector":"@a[tag=EPL]","color":"light_purple"},{"translate":"spell.used","color":"dark_purple"},{"translate":"spell.epl","color":"light_purple","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"[EPL]"}]}}}]
scoreboard players tag @s remove inv
