execute store result score #Global random run random value 1..100
execute if score #Global random matches 5 run function template:dbm_captain/attack
execute if score #Global random matches 48 run function template:dbm_captain/attack
execute if score #Global random matches 73 run function template:dbm_captain/attack
execute if score #Global random matches 25 run function template:dbm_captain/whirlpool