# ==================================================
# void vb.zzz_sl_block.5()
# a.k.a vb.volley.lossProbability._0.2
# ==================================================

scoreboard players set vb.volley.lossProbability._0._0 tbms.var 1
scoreboard players operation vb.volley.lossProbability._0._1._0 tbms.var = vb.volley.count tbms.var
execute if score vb.volley.lossProbability._0._1._0 tbms.var matches 9 run scoreboard players random vb.volley.lostID tbms.var 0 1
execute if score vb.volley.lossProbability._0._1._0 tbms.var matches 0..3 run scoreboard players random vb.volley.lostID tbms.var 0 9
execute if score vb.volley.lossProbability._0._1._0 tbms.var matches 5..6 run scoreboard players random vb.volley.lostID tbms.var 0 5
execute if score vb.volley.lossProbability._0._1._0 tbms.var matches 7..8 run scoreboard players random vb.volley.lostID tbms.var 0 3
execute if score vb.volley.lossProbability._0._1._0 tbms.var matches 10.. run scoreboard players set vb.volley.lostID tbms.var 0
