execute at @s run execute as @e[type=arrow,limit=1,sort=nearest,distance=..1.5,tag=SpecArrRep] run execute store result score @s KyuDummy run data get entity @e[nbt={life:0s,CustomPotionEffects:[{Id:32,Amplifier:100b}]},limit=1,sort=nearest,type=arrow,distance=..1.5] damage 100
############################################################################################################################dont mind me using PosX as a second dummy here
execute at @s run execute as @e[type=arrow,limit=1,sort=nearest,distance=..1.5,tag=SpecArrRep] run scoreboard players set @s PosX 116
execute at @s run execute as @e[type=arrow,limit=1,sort=nearest,distance=..1.5,tag=SpecArrRep] run scoreboard players operation @s PosX *= @s KyuDummy
execute at @s run execute as @e[type=arrow,limit=1,sort=nearest,distance=..1.5,tag=SpecArrRep] run execute store result entity @s damage double .0001 run scoreboard players get @s PosX
