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.

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

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