execute at @s[predicate=survivalplus:slimearrows,predicate=survivalplus:has_multishot] run tag @e[type=#arrows,sort=nearest,limit=3,nbt=!{inGround:1b},tag=!bouncearrow] add specialarrow
execute at @s[predicate=survivalplus:slimearrows,predicate=survivalplus:has_multishot] run tag @e[type=#arrows,sort=nearest,limit=3,nbt=!{inGround:1b},tag=!bouncearrow] add bouncearrow

execute at @s[predicate=survivalplus:slimearrows,predicate=!survivalplus:has_multishot] run tag @e[type=#arrows,sort=nearest,limit=1,nbt=!{inGround:1b},tag=!bouncearrow] add specialarrow
execute at @s[predicate=survivalplus:slimearrows,predicate=!survivalplus:has_multishot] run tag @e[type=#arrows,sort=nearest,limit=1,nbt=!{inGround:1b},tag=!bouncearrow] add bouncearrow
advancement revoke @s only survivalplus:tools/archer/crossbow/bounce