From 2b6af39312223f9ec7ff86f15d6910d6136c0747 Mon Sep 17 00:00:00 2001 From: Ponpon Date: Mon, 3 Feb 2025 23:29:18 +0900 Subject: [PATCH] =?UTF-8?q?NO-ISSUE=20Add=20=E6=AD=A6=E5=99=A8=E3=81=A7?= =?UTF-8?q?=E4=B8=8E=E3=81=88=E3=81=9F=E7=89=A9=E7=90=86=E3=83=80=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=82=B8=E3=82=92=E5=8F=96=E5=BE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/entity/function/damage/add/physical/melee.mcfunction | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 data/entity/function/damage/add/physical/melee.mcfunction diff --git a/data/entity/function/damage/add/physical/melee.mcfunction b/data/entity/function/damage/add/physical/melee.mcfunction new file mode 100644 index 000000000..a3e2d0bc9 --- /dev/null +++ b/data/entity/function/damage/add/physical/melee.mcfunction @@ -0,0 +1,4 @@ +#> entity:damage/add/physical/melee +### 与えた武器ダメージを取得 +execute store result score _ Damage run data get entity @e[tag=Enemy,nbt=!{AbsorptionAmount:2048f},limit=1] AbsorptionAmount -1 +execute store result storage entity: damage.physical int 1 run scoreboard players add _ Damage 2048