fz-survival-datapack/data/fz/functions/event/on_damage_taken.mcfunction
2022-07-03 19:01:51 +08:00

6 lines
227 B
Mcfunction

scoreboard players operation fz.var.score fz.variable.integer = @s fz.event.damage_taken
function #fz:event/on_damage_taken
scoreboard players set @s fz.event.damage_taken 0
advancement revoke @s only fz:event/on_damage_taken