#scoreboard players add @e[type=arrow,nbt={pickup:0b}] ArrowKyu2 1
#execute at @e[type=arrow,scores={ArrowKyu2=1}] run execute at @e[type=skeleton,limit=1,sort=nearest] positioned ~ ~ ~ run summon fireball ^ ^ ^1.1 {CustomName:"\"i\"",CustomNameVisible:0,direction:[0.0,-0.0,0.0],ExplosionPower:2}
#execute at @e[type=arrow,scores={ArrowKyu2=1}] run summon fireball ^ ^ ^ {Tags:["KyuGrav"],CustomName:"\"i\"",CustomNameVisible:0,direction:[0.0,-0.0,0.0],ExplosionPower:2}
execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result entity @s power[0] double .00001 run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[0] 10000
#execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result entity @s power[1] double .00001 run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[1] 20000
execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result score @s PowerYFireball run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[1] 10000
execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result entity @s power[2] double .00001 run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[2] 10000
execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result entity @s direction[0] double .00001 run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[0] 10000
#execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result entity @s direction[1] double .00001 run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[1] 20000
execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result score @s PowerYFireball run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[1] 10000
execute as @e[type=fireball,tag=!GotIt,tag=KyuGrav] run execute store result entity @s direction[2] double .00001 run data get entity @e[type=arrow,sort=nearest,limit=1] Motion[2] 10000
#execute as @e[type=arrow,scores={ArrowKyu2=14}] run execute at @s run tp @e[type=fireball,limit=1,sort=nearest] @s
kill @e[type=arrow,scores={ArrowKyu2=1..}]
tag @e[type=fireball,tag=KyuGrav] add GotIt
#execute as @e[type=fireball,tag=GotIt,tag=KyuGrav] run execute store result entity @s direction[1] double .00001 run scoreboard players get @s MotionYFireball
execute as @e[type=fireball,tag=GotIt,tag=KyuGrav] run execute store result entity @s power[1] double .00001 run scoreboard players get @s PowerYFireball
scoreboard players remove @e[type=fireball,tag=KyuGrav] PowerYFireball 1000
scoreboard players remove @e[type=fireball,scores={PowerYFireball=16000..},tag=KyuGrav] PowerYFireball 1000
#scoreboard players remove @e[type=fireball,tag=KyuGrav] MotionYFireball 300
#execute if entity @e[name=DayQ,tag=!NoMetStorm] run setblock ~ ~1 ~ redstone_block