-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[神器1122]守護者の鉄塊を作成 #327
base: master
Are you sure you want to change the base?
[神器1122]守護者の鉄塊を作成 #327
Conversation
# | ||
# @within tag/function asset:artifact/dis_equip | ||
|
||
execute if data storage asset:context id{auto:1122} run function asset:artifact/1122.guardian_ironlump/trigger/dis_equip/main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MUST: if がおかしい
# ここから先は神器側の効果の処理を書く | ||
attribute @s minecraft:generic.armor modifier remove 1-0-1-0-46200000007 | ||
attribute @s minecraft:generic.attack_knockback modifier remove 1-0-1-0-46200000007 | ||
|
||
# 防御力+5% | ||
data modify storage api: Argument.UUID set value [I;1,1,1122,6] | ||
function api:modifier/defense/base/remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MUST: 複数個持った後に一つ外したときにも動くのでこれだとまずい
Asset/data/asset/functions/artifact/1122.guardian_ironlump/trigger/3.main.mcfunction
Outdated
Show resolved
Hide resolved
Asset/data/asset/functions/artifact/1122.guardian_ironlump/trigger/3.main.mcfunction
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
よさそ
No description provided.