-
Notifications
You must be signed in to change notification settings - Fork 1
[神器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
[神器1172]サイフォジオV2を作成 #666
Conversation
急ぎじゃないやつです |
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 |
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.
as @Aから始まる使用者検知に変えておいて
#declare score_holder $OwnerID | ||
|
||
# HP回復量 | ||
data modify storage api: Argument.Heal set value 16.0f |
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.
調整のやりやすさ的に神器側に回復量を定義してほしい
# 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":"剣を地面に突き刺し、周囲のプレイヤーを回復する"}'] |
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.
周囲何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 |
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.
念の為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/ |
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.
api:heal/resetなくね?
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.
approveはするのでテクスチャつけといてね
No description provided.