execute at @e[type=ender_dragon,nbt={HurtTime:10s,DragonPhase:0}] run particle minecraft:dragon_breath ~ ~2 ~ 0 0 0 .3 50 force
execute at @e[type=ender_dragon,nbt={HurtTime:10s,DragonPhase:0}] run summon marker ~ ~2 ~ {Rotation:[0f,-70f],Tags:[dragonspew,special,spin]}
execute at @e[type=ender_dragon,nbt={HurtTime:10s,DragonPhase:0},predicate=survivalplus:50chance] run summon marker ~ ~2 ~ {Rotation:[0f,-70f],Tags:[dragonspew,special,spin]}
execute at @e[type=ender_dragon,nbt={HurtTime:10s,DragonPhase:0},predicate=survivalplus:25chance] run summon marker ~ ~2 ~ {Rotation:[0f,-70f],Tags:[dragonspew,special,spin]}
advancement revoke @s only survivalplus:tools/hitdragon