## Trigger ambient sounds
scoreboard players add @s vb.timer.ambient_sound 1
execute store result score @s vb.dummy1 run random value 1..110
execute if score @s vb.timer.ambient_sound matches 80.. if score @s vb.dummy1 matches 1 run function vb:tick_entity/custom_mob/drifter/ambient_sound

## Hurt
execute store result score @s vb.dummy1 run data get entity @s HurtTime
execute if score @s vb.dummy1 matches 1.. run function vb:tick_entity/custom_mob/drifter/hurt