From 7067d1b1b4a12ee7c9ecb6c5c4b852695106bc78 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Tue, 16 Jun 2026 11:59:12 +0900 Subject: [PATCH 1/2] float -> double --- .../effect/0351.nectar_regeneration/tick/heal.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction b/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction index a5fcd3be73..76ee79b63c 100644 --- a/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction +++ b/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction @@ -14,7 +14,7 @@ execute store result score $MaxHealth Temporary run attribute @s generic.max_health get # 回復 - execute store result storage api: Argument.Heal float 0.0001 run scoreboard players operation $HealPer Temporary *= $MaxHealth Temporary + execute store result storage api: Argument.Heal double 0.0001 run scoreboard players operation $HealPer Temporary *= $MaxHealth Temporary data modify storage api: Argument.ApplyTrigger set value false function api:heal/modifier function api:heal/ From 011f2b82ea1d7df54d4457cb573f36ec22685e7d Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Tue, 16 Jun 2026 12:00:44 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=83=AA=E3=82=BB=E3=83=83=E3=83=88?= =?UTF-8?q?=E6=BC=8F=E3=82=8C=E3=82=92=E3=81=A4=E3=81=84=E3=81=A7=E3=81=AB?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../effect/0351.nectar_regeneration/tick/heal.mcfunction | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction b/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction index 76ee79b63c..218bfc91d0 100644 --- a/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction +++ b/Asset/data/asset/functions/effect/0351.nectar_regeneration/tick/heal.mcfunction @@ -19,3 +19,7 @@ function api:heal/modifier function api:heal/ function api:heal/reset + +# リセット + scoreboard players reset $HealPer Temporary + scoreboard players reset $MaxHealth Temporary