From 8deea229fe655463c18f0652530f08519e2723ec Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Tue, 16 Jun 2026 11:57:10 +0900 Subject: [PATCH 1/3] =?UTF-8?q?storage=E3=81=B8=E4=BB=A3=E5=85=A5=E3=81=99?= =?UTF-8?q?=E3=82=8B=E9=9A=9B=E3=81=ABfloat=E3=81=A7=E3=81=AF=E3=81=AA?= =?UTF-8?q?=E3=81=8Fdouble=E3=82=92=E7=94=A8=E3=81=84=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../heal/core/modifier/multiply_by_heal_modifier.mcfunction | 2 +- .../data/api/functions/heal/core/receive_modifier.mcfunction | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TheSkyBlessing/data/api/functions/heal/core/modifier/multiply_by_heal_modifier.mcfunction b/TheSkyBlessing/data/api/functions/heal/core/modifier/multiply_by_heal_modifier.mcfunction index ebc8977929..c27ea32287 100644 --- a/TheSkyBlessing/data/api/functions/heal/core/modifier/multiply_by_heal_modifier.mcfunction +++ b/TheSkyBlessing/data/api/functions/heal/core/modifier/multiply_by_heal_modifier.mcfunction @@ -17,7 +17,7 @@ # 補正 scoreboard players operation $Heal Temporary *= $Modifier Temporary # 代入 - execute store result storage api: Argument.Heal float 0.0001 run scoreboard players get $Heal Temporary + execute store result storage api: Argument.Heal double 0.0001 run scoreboard players get $Heal Temporary # リセット scoreboard players reset $Heal Temporary scoreboard players reset $Modifier Temporary diff --git a/TheSkyBlessing/data/api/functions/heal/core/receive_modifier.mcfunction b/TheSkyBlessing/data/api/functions/heal/core/receive_modifier.mcfunction index 39d1187f5b..ec15065491 100644 --- a/TheSkyBlessing/data/api/functions/heal/core/receive_modifier.mcfunction +++ b/TheSkyBlessing/data/api/functions/heal/core/receive_modifier.mcfunction @@ -17,7 +17,7 @@ # 補正 scoreboard players operation $Heal Temporary *= $Modifier Temporary # 代入 - execute store result storage api: Argument.Fluctuation float 0.0001 run scoreboard players get $Heal Temporary + execute store result storage api: Argument.Fluctuation double 0.0001 run scoreboard players get $Heal Temporary # リセット scoreboard players reset $Heal Temporary scoreboard players reset $Modifier Temporary From a0c125503928599b1838e513fe05c3cbb9e655ed Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Tue, 16 Jun 2026 12:41:41 +0900 Subject: [PATCH 2/3] =?UTF-8?q?float=20->=20double=20=E3=81=AB=E4=B8=80?= =?UTF-8?q?=E6=8B=AC=E7=BD=AE=E6=8F=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TheSkyBlessing/data/api/functions/heal/.mcfunction | 2 +- .../data/api/functions/heal/core/push_heal_events/.mcfunction | 2 +- .../heal/core/push_heal_events/from_healer/push.mcfunction | 2 +- TheSkyBlessing/data/api/functions/heal/modifier.mcfunction | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TheSkyBlessing/data/api/functions/heal/.mcfunction b/TheSkyBlessing/data/api/functions/heal/.mcfunction index 2a2aeaca3d..549db6f7f5 100644 --- a/TheSkyBlessing/data/api/functions/heal/.mcfunction +++ b/TheSkyBlessing/data/api/functions/heal/.mcfunction @@ -6,7 +6,7 @@ # # @input # as living entity -# storage api: Argument.Heal : float +# storage api: Argument.Heal : double # storage api: Argument.FixedHeal? : boolean(default: false) # storage api: Argument.DisableLog? : boolean(default: false) # storage api: Argument.ApplyTrigger? : boolean(default: true) diff --git a/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/.mcfunction b/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/.mcfunction index 62af32d680..0a25b30a31 100644 --- a/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/.mcfunction +++ b/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/.mcfunction @@ -14,7 +14,7 @@ function oh_my_dat:please data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal append value {} data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal[-1].Amount.Base set from storage api: Argument.Fluctuation - execute store result storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal[-1].Amount.Over float 0.01 run scoreboard players get $OverHeal Temporary + execute store result storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal[-1].Amount.Over double 0.01 run scoreboard players get $OverHeal Temporary data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal[-1].PreviousHealth set from storage api: Health execute if data storage api: Argument{ApplyTrigger:true} run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal[-1].IsHoT set value false execute if data storage api: Argument{ApplyTrigger:false} run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal[-1].IsHoT set value true diff --git a/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction b/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction index cb35ee49f2..cbfdbeaa6e 100644 --- a/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction +++ b/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction @@ -21,7 +21,7 @@ data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Base append value -1f data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Over append value -1f data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Base[-1] set from storage api: Argument.Fluctuation - execute store result storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Over[-1] float 0.01 run scoreboard players get $OverHeal Temporary + execute store result storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Over[-1] double 0.01 run scoreboard players get $OverHeal Temporary data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].PreviousHealth append value -1f data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].PreviousHealth[-1] set from storage api: Health data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].To append value -1 diff --git a/TheSkyBlessing/data/api/functions/heal/modifier.mcfunction b/TheSkyBlessing/data/api/functions/heal/modifier.mcfunction index d6c89b71a0..0bceacdac1 100644 --- a/TheSkyBlessing/data/api/functions/heal/modifier.mcfunction +++ b/TheSkyBlessing/data/api/functions/heal/modifier.mcfunction @@ -4,9 +4,9 @@ # # @input # as entity -# storage api: Argument.Heal : float +# storage api: Argument.Heal : double # storage api: Argument.FIxedHeal : boolean -# @output storage api: Argument.Heal : float +# @output storage api: Argument.Heal : double # @api # 補正 From 1a1b4c4f2bb27db349733c8323264ec29bdeec60 Mon Sep 17 00:00:00 2001 From: Lapis-LJA Date: Tue, 16 Jun 2026 12:45:09 +0900 Subject: [PATCH 3/3] 1f -> 1d --- .../heal/core/push_heal_events/from_healer/push.mcfunction | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction b/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction index cbfdbeaa6e..e3278c22d2 100644 --- a/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction +++ b/TheSkyBlessing/data/api/functions/heal/core/push_heal_events/from_healer/push.mcfunction @@ -18,11 +18,11 @@ execute unless score $LastIndex Temporary = $ModifierIndex Global run data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal append value {} execute unless score $LastIndex Temporary = $ModifierIndex Global run execute store result storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Index int 1 run scoreboard players get $ModifierIndex Global # ヒール対象に追加する - data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Base append value -1f - data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Over append value -1f + data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Base append value -1d + data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Over append value -1d data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Base[-1] set from storage api: Argument.Fluctuation execute store result storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].Amounts.Over[-1] double 0.01 run scoreboard players get $OverHeal Temporary - data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].PreviousHealth append value -1f + data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].PreviousHealth append value -1d data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].PreviousHealth[-1] set from storage api: Health data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].To append value -1 execute store result storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.Heal[-1].To[-1] int 1 run scoreboard players get $ReceiverUUID Temporary