-
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
13 changed files
with
117 additions
and
153 deletions.
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
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
20 changes: 9 additions & 11 deletions
20
...et/functions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal.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 |
---|---|---|
@@ -1,16 +1,14 @@ | ||
#> asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal | ||
# | ||
# ランダム拡散 | ||
# ディメンションソード 周囲に召喚 | ||
# | ||
# @within function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/ | ||
|
||
# Markerを呼び出す | ||
tp 0-0-0-0-0 ^ ^ ^ ~ ~ | ||
# 拡散値 | ||
data modify storage lib: Argument.Bounds set value [[6d,6d],[0d,0d],[6d,6d]] | ||
# 拡散する | ||
execute as 0-0-0-0-0 at @s run function lib:spread_entity/ | ||
# ソード召喚 | ||
execute 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 | ||
# スコア設定 | ||
scoreboard players set $AV.Loop Temporary 0 | ||
|
||
# 拡散 | ||
function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal_loop | ||
|
||
# リセット | ||
scoreboard players reset $AV.Loop Temporary |
27 changes: 0 additions & 27 deletions
27
...nctions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal_hard.mcfunction
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
...nctions/mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal_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,33 @@ | ||
#> asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal_loop | ||
# | ||
# ディメンションソード 召喚ループ処理 | ||
# | ||
# @within function | ||
# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal | ||
# asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal_loop | ||
|
||
# 再拡散時用にリセット | ||
scoreboard players reset $AV.Temp Temporary | ||
|
||
# 再拡散用スコア上昇 | ||
scoreboard players add $AV.Loop Temporary 1 | ||
|
||
# Markerを呼び出す | ||
tp 0-0-0-0-0 ^ ^ ^ ~ ~ | ||
|
||
# 拡散する | ||
data modify storage lib: Argument.Bounds set value [[12d,12d],[0,0],[12d,12d]] | ||
execute as 0-0-0-0-0 at @s run function lib:spread_entity/ | ||
|
||
# 半径22m以内ではない 又は 他と重なっている場合再拡散する | ||
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 if score $AV.Loop Temporary matches ..10 run function asset:mob/0391.axia_first/ai/animation/9_0_dimension_slash/sword/normal_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
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
Oops, something went wrong.