Skip to content

Commit 1f5d10a

Browse files
committed
現在体力を取得する箇所を1本化
1 parent e6698e8 commit 1f5d10a

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

TheSkyBlessing/data/api/functions/heal/core/push_heal_events/.mcfunction

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
#
55
# @within function api:heal/core/player
66

7+
# 現在体力の取得
8+
function api:data_get/health
9+
710
# 超過回復量の計算
811
function api:heal/core/push_heal_events/calc_over_heal
912

10-
# 現在体力を回復前の体力用に取得
11-
function api:data_get/health
12-
1313
# ヒールされた側にイベントを追加する
1414
function oh_my_dat:please
1515
data modify storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].ArtifactEvents.ReceiveHeal append value {}

TheSkyBlessing/data/api/functions/heal/core/push_heal_events/calc_over_heal.mcfunction

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
execute store result score $OverHeal Temporary run data get storage api: Argument.Fluctuation 100
99
function api:modifier/max_health/get
1010
execute store result score $MaxHealth Temporary run data get storage api: Return.MaxHealth 100
11-
function api:data_get/health
1211
execute store result score $CurrentHealth Temporary run data get storage api: Health 100
1312

1413
# 計算

0 commit comments

Comments
 (0)