Skip to content

[神器1172]サイフォジオV2を作成 #666

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

Merged
merged 9 commits into from
Mar 27, 2025
Merged

[神器1172]サイフォジオV2を作成 #666

merged 9 commits into from
Mar 27, 2025

Conversation

quikku
Copy link
Member

@quikku quikku commented Jan 16, 2025

No description provided.

@quikku
Copy link
Member Author

quikku commented Jan 16, 2025

急ぎじゃないやつです

data modify storage api: Argument.Heal set value 16.0f
# 補正
execute store result score $OwnerID Temporary run data get storage asset:context this.UserID
execute at @a if score $OwnerID Temporary = @p UserID as @p run function api:heal/modifier
Copy link
Contributor

Choose a reason for hiding this comment

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

as @Aから始まる使用者検知に変えておいて

#declare score_holder $OwnerID

# HP回復量
data modify storage api: Argument.Heal set value 16.0f
Copy link
Contributor

Choose a reason for hiding this comment

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

調整のやりやすさ的に神器側に回復量を定義してほしい

quikku added 2 commits March 24, 2025 20:17
# data modify storage asset:artifact ConsumeItem.Item set value
# data modify storage asset:artifact ConsumeItem.Count set value
# data modify storage asset:artifact ConsumeItem.Extra set value
data modify storage asset:artifact Lore set value ['{"text":"剣を地面に突き刺し、周囲のプレイヤーを回復する"}']
Copy link
Contributor

Choose a reason for hiding this comment

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

周囲何mなのかと、具体的な回復量についての記述が欲しいね
例としては、周囲3mのプレイヤーの体力を10回復する、みたいな

execute if score @s General.Object.Tick matches 50.. run particle end_rod ~ ~ ~ 0 0 0 1 6


execute if score @s General.Object.Tick matches 80 run function asset:object/1084.cyfosio_sword/tick/heal
Copy link
Contributor

Choose a reason for hiding this comment

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

念の為80..の方が安全かもしれない

execute store result score $OwnerID Temporary run data get storage asset:context this.UserID
execute as @a if score @s UserID = $OwnerID Temporary run function api:heal/modifier
# 実行
execute as @a[distance=..3] run function api:heal/
Copy link
Contributor

Choose a reason for hiding this comment

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

api:heal/resetなくね?

Copy link
Contributor

@Lapis-LJA Lapis-LJA left a comment

Choose a reason for hiding this comment

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

approveはするのでテクスチャつけといてね

@Lapis-LJA Lapis-LJA merged commit f390272 into master Mar 27, 2025
2 checks passed
@Lapis-LJA Lapis-LJA deleted the dev/1172 branch March 27, 2025 13:21
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.

None yet

2 participants