Skip to content

Commit

Permalink
⚖️ 攻撃時に戦闘中判定がされないことがあるのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenCMD committed Oct 20, 2024
1 parent e902741 commit 3e1739d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
# フィルター
execute if entity @s[tag=!AttackedByApi] run function mob_manager:entity_finder/player_hurt_entity/filters/
# 戦闘中判定スコアをセットする
execute if entity @e[tag=AttackedEntity,tag=Enemy,distance=..150] run scoreboard players set @s InBattleTick 160
scoreboard players set @s InBattleTick 160
# リセット
advancement revoke @s only mob_manager:entity_finder/check_player_hurt_entity

0 comments on commit 3e1739d

Please sign in to comment.