Skip to content

[Artifact 1555] シフトチェンジの作成 - #2069

Open
ogachu0331 wants to merge 10 commits into
masterfrom
dev/ogachu_artifact1555
Open

[Artifact 1555] シフトチェンジの作成#2069
ogachu0331 wants to merge 10 commits into
masterfrom
dev/ogachu_artifact1555

Conversation

@ogachu0331

Copy link
Copy Markdown
Contributor

使用するとサーバー内のランダムな味方と位置を入れ替えます

@ogachu0331
ogachu0331 requested a review from Lapis-LJA June 15, 2026 04:42
Comment on lines +9 to +10
#declare tag 177.changed
#declare tag 177.change_marker

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

命名規則は単語の最初の文字を大文字にしてアンダーバーなしなので、
177.Changed, 177.ChangeMarkerかな

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

修正しました

execute as @e[type=marker,tag=177.change_marker,limit=1] at @s rotated as @a[tag=177.changed,limit=1] run tp @s ~ ~ ~ ~ ~

# 対象を自身の場所・向きへtp
execute at @s rotated as @s run tp @a[tag=177.changed,limit=1] ~ ~ ~ ~ ~

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

このat @.s rotated as @.sって要る?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なくても問題なかったので消しました。
あと、動作確認はセレクターをアマスタに置き換えてやっていたんですが、やっぱり実際のプレイヤーと行うほうがいいですか?

Comment on lines +16 to +17
data modify storage asset:artifact Name set value '[{"text":"シフト","color":"#0E82E8","bold":true},{"text":"チェンジ","color":"#C9A410"}]'
data modify storage asset:artifact Lore set value ['{"text":"サーバー内のランダムな味方1名と位置を入れ替える","color":"white"}']

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なんか本来Loreの1行上にあったコメントが消えてる?
ちょっと気になった


# 他にアイテム等確認する場合はここに書く
# 自身がワープ可能か
execute if entity @s[tag=CanUsed] if entity @s[predicate=lib:is_ban_tp_area] run tellraw @s {"text":"不思議な力が転送を妨害した。","color":"dark_aqua"}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

おそらくソウルメイトから持ってきたんだろうけど、使用不可メッセージとして使うならcolorはredのほうが良いかも?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants