Skip to content
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

🍱 [Mob421-422] シミシミタレット実装 #509

Merged
merged 5 commits into from
Jan 6, 2025

Conversation

EllaCoat
Copy link
Contributor

シルバーフィッシュ(シミシミバレット)を発射するタレットをかついだシルバーフィッシュです。

# 第二属性
data modify storage lib: Argument.ElementType set value "None"
# デスログ
data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sに群がれて倒れてしまった","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
Copy link
Member

Choose a reason for hiding this comment

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

多分「群がられて」だと思う
が、自分でも自信がない

Copy link
Contributor Author

Choose a reason for hiding this comment

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

修正した

scoreboard players add @s General.Mob.Tick 1

# プレイヤーが近くにいる場合シミシミバレット発射!
execute if score @s General.Mob.Tick matches 150.. if score @s BP.SummonCount matches 20.. run scoreboard players set @s General.Mob.Tick 0
Copy link
Member

Choose a reason for hiding this comment

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

これ召喚数が一定以上だったら
tick 加算前に return でいいんじゃ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

たしかにー

Copy link
Contributor Author

Choose a reason for hiding this comment

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

修正した

# 第二属性
data modify storage lib: Argument.ElementType set value "None"
# デスログ
data modify storage lib: Argument.DeathMessage append value '[{"translate": "%1$sは%2$sに群がれて倒れてしまった","with":[{"selector":"@s"},{"nbt":"Return.AttackerName","storage":"lib:","interpret":true}]}]'
Copy link
Member

Choose a reason for hiding this comment

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

同様

Copy link
Contributor Author

Choose a reason for hiding this comment

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

修正した

@haiiro2gou haiiro2gou changed the title 【Mob421~422】シミシミタレット実装 🍱 [Mob421-422] シミシミタレット実装 Jan 6, 2025
@haiiro2gou haiiro2gou merged commit 77bdd56 into master Jan 6, 2025
2 checks passed
@haiiro2gou haiiro2gou deleted the dev/ella_mob_421 branch January 6, 2025 16:37
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