Skip to content

Commit

Permalink
範囲をdxyzに修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Lapis-LJA committed Mar 6, 2025
1 parent 70c1aa2 commit b7e2aa6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
data modify storage api: Argument.ElementType set value "None"
execute store result score $UserID Temporary run data get storage asset:context this.UserID
execute as @a if score @s UserID = $UserID Temporary run function api:damage/modifier
execute positioned ~-0.5 ~-0.5 ~-0.5 at @e[type=#lib:living,type=!player,tag=!Uninterferable,dx=0] as @e[type=#lib:living,type=!player,tag=!Uninterferable,distance=..2.5] run function api:damage/
execute positioned ~-0.5 ~-0.5 ~-0.5 unless entity @e[type=#lib:living,type=!player,tag=!Uninterferable,dx=0] positioned ~0.5 ~0.5 ~0.5 as @e[type=#lib:living,type=!player,tag=!Uninterferable,distance=..2.5] run function api:damage/
execute positioned ~-0.5 ~-0.5 ~-0.5 at @e[type=#lib:living,type=!player,tag=!Uninterferable,dx=0] positioned ~-2 ~-2 ~-2 as @e[type=#lib:living,type=!player,tag=!Uninterferable,dx=3,dy=3,dz=3] run function api:damage/
execute positioned ~-0.5 ~-0.5 ~-0.5 unless entity @e[type=#lib:living,type=!player,tag=!Uninterferable,dx=0] at @s positioned ~-2 ~-2 ~-2 as @e[type=#lib:living,type=!player,tag=!Uninterferable,dx=3,dy=3,dz=3] run function api:damage/
function api:damage/reset

# リセット
Expand Down

0 comments on commit b7e2aa6

Please sign in to comment.