fz-survival-datapack/data/fzsd/functions/game_event/advancement/on_took_damage.mcfunction
2022-10-30 09:04:19 +08:00

7 lines
285 B
Mcfunction
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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