-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
96 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...ata/asset/functions/mob/0391.axia_first/ai/animation/10_0_kourai/announce_line.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#> asset:mob/0391.axia_first/ai/animation/10_0_kourai/announce_line | ||
# | ||
# 予告線 召喚 | ||
# | ||
# @within function asset:mob/0391.axia_first/ai/animation/10_0_kourai/ | ||
|
||
execute anchored eyes run summon item_display ^ ^ ^2 {interpolation_duration:0,teleport_duration:0,Tags:["AV.AnnounceInit"],brightness:{sky:15,block:15},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,13.5f],scale:[0.1f,0.1f,25f]},item:{id:"air",Count:1b}} | ||
|
||
execute anchored eyes positioned ^ ^ ^2 as @e[tag=AV.AnnounceInit,distance=..0.1] run tp @s ^ ^ ^ ~ ~ | ||
|
||
execute anchored eyes positioned ^ ^ ^2 as @e[tag=AV.AnnounceInit,distance=..0.1] run function asset:mob/0391.axia_first/ai/projectile/announce_line/1.init.m {Num:-10} |
30 changes: 30 additions & 0 deletions
30
...asset/functions/mob/0391.axia_first/ai/animation/10_0_kourai/sword/spread_loop.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#> asset:mob/0391.axia_first/ai/animation/10_0_kourai/sword/spread_loop | ||
# | ||
# ディメンションソード 拡散 | ||
# | ||
# @within function | ||
# asset:mob/0391.axia_first/ai/animation/10_0_kourai/ | ||
# asset:mob/0391.axia_first/ai/animation/10_0_kourai/sword/spread_loop | ||
|
||
# 再拡散時用にリセット | ||
scoreboard players reset $AV.Temp Temporary | ||
|
||
# Markerを呼び出す | ||
execute at @e[type=marker,tag=AV.Marker.SummonPoint,distance=..100,limit=1] run tp 0-0-0-0-0 ^ ^ ^ ~ ~ | ||
|
||
# 拡散する | ||
data modify storage lib: Argument.Bounds set value [[22d,22d],[0,0],[22d,22d]] | ||
execute as 0-0-0-0-0 at @s run function lib:spread_entity/ | ||
|
||
# 半径14m以内ではない 又は 他の歯車と重なっている場合再拡散する | ||
execute at 0-0-0-0-0 unless entity @e[type=marker,tag=AV.Marker.SummonPoint,distance=..22,limit=1] run scoreboard players set $AV.Temp Temporary 1 | ||
execute at 0-0-0-0-0 if entity @e[type=marker,tag=AV.DimSword,distance=0.001..5] run scoreboard players set $AV.Temp Temporary 1 | ||
|
||
# 条件を満たしていれば置く | ||
execute unless score $AV.Temp Temporary matches 1 at 0-0-0-0-0 run function asset:mob/0391.axia_first/ai/projectile/sword/0.summon | ||
|
||
# Makerを戻してあげる | ||
execute in overworld run tp 0-0-0-0-0 0.0 0.0 0.0 | ||
|
||
# 満たしていなければ再拡散 | ||
execute if score $AV.Temp Temporary matches 1 run function asset:mob/0391.axia_first/ai/animation/10_0_kourai/sword/spread_loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters