Skip to content

Commit

Permalink
🚚 スコアホルダーをリネーム
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenCMD authored Jan 5, 2025
1 parent a7f367c commit 573ed87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#
#declare tag Landing
#declare tag LandingTarget
#declare score_holder $laserDistance
#declare score_holder $LaserDistance
#declare score_holder $VFXPattern

#> Val
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
function api:damage/reset
tag @a[tag=DXYZ] remove DXYZ
data remove storage lib: args
scoreboard players reset $laserDistance Temporary
scoreboard players reset $LaserDistance Temporary
scoreboard players reset $VFXPattern Temporary
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
# asset:mob/0046.clock_of_despair/tick/skill/common/wall_laser_clock/fire
# asset:mob/0046.clock_of_despair/tick/skill/common/wall_laser_clock/vfx/fire/

scoreboard players add $laserDistance Temporary 1
scoreboard players operation $VFXPattern Temporary = $laserDistance Temporary
scoreboard players add $LaserDistance Temporary 1
scoreboard players operation $VFXPattern Temporary = $LaserDistance Temporary
scoreboard players operation $VFXPattern Temporary %= $2 Const
execute if score $VFXPattern Temporary matches 0 run function asset:mob/0046.clock_of_despair/tick/skill/common/wall_laser_clock/vfx/fire/vfx
execute if score $VFXPattern Temporary matches 1 run function asset:mob/0046.clock_of_despair/tick/skill/common/wall_laser_clock/vfx/fire/vfx2

execute if block ~ ~ ~ #lib:no_collision if score $laserDistance Temporary matches ..40 positioned ^ ^ ^0.8 run function asset:mob/0046.clock_of_despair/tick/skill/common/wall_laser_clock/vfx/fire/
execute if block ~ ~ ~ #lib:no_collision if score $LaserDistance Temporary matches ..40 positioned ^ ^ ^0.8 run function asset:mob/0046.clock_of_despair/tick/skill/common/wall_laser_clock/vfx/fire/

0 comments on commit 573ed87

Please sign in to comment.