File tree Expand file tree Collapse file tree
TheSkyBlessing/data/api/functions/heal/core/push_heal_events Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 {}
Original file line number Diff line number Diff line change 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# 計算
You can’t perform that action at this time.
0 commit comments