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

全体定義になっていたtagとscore_holderを修正 #498

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#> asset:artifact/0787.aurora_helm/trigger/_index.d
#
#
#
# @private

#> tag
# @within function
# asset:artifact/0787.aurora_helm/trigger/fullset/**
# asset:artifact/0787.aurora_helm/trigger/dis_equip/main
# asset:artifact/0788.aurora_armor/trigger/dis_equip/main
# asset:artifact/0789.aurora_leggings/trigger/dis_equip/main
# asset:artifact/0790.aurora_boots/trigger/dis_equip/main
#declare tag LT.Fullset
#declare tag LT.Fullset
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
# @input args
# Num : モブの距離
# @within function asset:artifact/1045.mini_black_hole/trigger/schedule/3.landing

#> Private
# @private
#declare tag T1.Landing

# 着弾タグを付ける
$tag @e[tag=Enemy,tag=!Uninterferable,distance=..$(Num)] add T1.Landing
$tag @e[tag=Enemy,tag=!Uninterferable,distance=..$(Num)] add T1.Landing
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#> インターバル
# @private
#declare score_holder $SoundInterval
#declare score_holder $ParticleInterval
#declare score_holder $SoundInterval
#declare score_holder $ParticleInterval

# 実行時間を移す
scoreboard players operation $SoundInterval Temporary = @s AI.Tick
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#> asset:object/1067.jewel_rod_of_horai/_index.d
# @private

#> declare
# @within function asset:object/1067.jewel_rod_of_horai/**
#declare score_holder $MS.OwnerID
#declare score_holder $MS.TargetUUID
#declare score_holder $MS.AttackLevel
#declare tag MS.Owner
#declare tag MS.AttackTarget
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
#
# @within asset:object/alias/1067/tick

#> within
# @whithin function sset:object/alias/1067/tick/**
#declare score_holder $MS.TargetUUID
#declare score_holder $MS.AttackLevel
#declare tag MS.AttackTarget

# Tick加算
scoreboard players add @s General.Object.Tick 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
#
# @within function asset:object/1067.jewel_rod_of_horai/tick/

#>prv
# @private
#declare score_holder $MS.OwnerID
#declare tag MS.Owner

# 攻撃実行者のID取得
execute store result score $MS.OwnerID Temporary run data get storage asset:context this.OwnerID
execute as @a if score @s UserID = $MS.OwnerID Temporary run tag @s add MS.Owner
Expand Down
Loading