Skip to content

Commit

Permalink
🩹 レビュー内容を一部修正
Browse files Browse the repository at this point in the history
  • Loading branch information
haiiro2gou committed Sep 25, 2024
1 parent 91e9861 commit 2c6cb15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@
# データが正しいなら消す
execute if data storage api: Argument.UUID run function api:modifier/core/max_mp/remove
# データ代入
function api:mp/update_max
function api:mp/update_max
# リセット
data remove storage api: Argument.UUID
9 changes: 3 additions & 6 deletions TheSkyBlessing/data/api/functions/mp/update_max.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
#
# プレイヤーの最大MPを更新します。
#
# @input
# as player
# storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].Modifiers.MaxMP
# @output
# score @s MPMax
# @input as player
# @output score @s MPMax
# @api

# Storage呼び出し
function oh_my_dat:please
# 最大MP変更
execute store result score @s MPMax run data get storage oh_my_dat: _[-4][-4][-4][-4][-4][-4][-4][-4].Modifiers.MaxMP 1
scoreboard players operation @s MPMax > $0 Const
scoreboard players operation @s MPMax > $0 Const

0 comments on commit 2c6cb15

Please sign in to comment.