Skip to content

Commit

Permalink
ホーミング弾の飛び方ヘンだったので修正。足元狙いになった。
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuzume committed Jan 7, 2025
1 parent 448de8d commit 5d2988b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# モデルをプレイヤーに向ける
execute if score @s General.Mob.Tick matches 0 as @e[type=item_display,tag=RW.ModelRoot,distance=..8,sort=nearest,limit=1] facing entity @p eyes run tp @s ~ ~ ~ ~ 0
execute if score @s General.Mob.Tick matches 0 facing entity @p eyes run tp @s ~ ~ ~ ~ ~
execute if score @s General.Mob.Tick matches 0 facing entity @p feet run tp @s ~ ~ ~ ~ ~

# 自身のモデルにモーションを再生させる
execute if score @s General.Mob.Tick matches 0 as @e[type=item_display,tag=RW.ModelRoot.Target,distance=..8,sort=nearest,limit=1] run function animated_java:tultaria/animations/attack_magic_1_right/tween {to_frame:0,duration:1}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# @within asset:object/alias/2044/summon

# 元となるEntityを召喚する
execute as 0-0-0-0-0 positioned as @s run tp @s ~ ~ ~ ~ 0
execute as 0-0-0-0-0 positioned as @s run tp @s ~ ~ ~ ~ ~
data modify storage asset:temp Args.Rotation set from entity 0-0-0-0-0 Rotation
function asset:object/2044.lastboss_ice_bullet/summon/m with storage asset:temp Args
data remove storage asset:temp Args
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# @within function asset:object/2044.lastboss_ice_bullet/tick/

# 追尾
$execute facing entity @p[scores={UserID=$(TargetID)}] eyes positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-20 facing entity @s eyes positioned as @s run tp @s ~ ~ ~ ~ ~
$execute facing entity @p[scores={UserID=$(TargetID)}] eyes positioned ^ ^ ^-1 rotated as @s positioned ^ ^ ^-20 facing entity @s feet positioned as @s run tp @s ~ ~ ~ ~ ~

0 comments on commit 5d2988b

Please sign in to comment.