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

7 lines
285 B
Mcfunction
Raw Normal View History

# 调用者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
2022-10-30 09:04:19 +08:00
advancement revoke @s from fzsd:game_event/on_took_damage