scoreboard players add @s projectile_time 1
execute if score @s projectile_time matches ..100 run scoreboard players operation @s projectile_gravity = @s projectile_time
execute if score @s projectile_time matches ..100 run scoreboard players operation @s projectile_gravity *= .gravity projectile
execute if score @s projectile_time matches ..100 run scoreboard players operation @s projectile_gravity /= .2 number
$execute store result storage gravity $(id)_$(type)_$(character).gravity float $(gravity) run scoreboard players get @s projectile_gravity