fz-survival-datapack/data/fz/functions/game_event/advancement/on_took_damage.mcfunction

7 lines
273 B
Mcfunction
Raw Normal View History

# 调用者advancements/fz:~
execute if predicate fz:is_real_player run function fz:game_event/player/on_took_damage
## 重置事件
scoreboard players operation @s fz.event.damage_taken %= 10 fz.variable.integer
advancement revoke @s only fz:game_event/on_took_damage