-
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
1 parent
8f8442f
commit f5defad
Showing
9 changed files
with
18 additions
and
18 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
16 changes: 8 additions & 8 deletions
16
...re_armor/trigger/fullset/melee.mcfunction → ...e_armor/trigger/fullset/attack.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,23 +1,23 @@ | ||
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/melee | ||
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/attack | ||
# | ||
# フルセット時の近接攻撃 | ||
# | ||
# @within function asset:artifact/0664.soul_fire_armor/trigger/fullset/melee_trigger | ||
# @within function asset:artifact/0664.soul_fire_armor/trigger/fullset/attack_trigger | ||
|
||
# 演出 | ||
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..6] at @s run function asset:artifact/0664.soul_fire_armor/trigger/fullset/particle | ||
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run playsound block.fire.ambient player @a ~ ~ ~ 2 0.8 0 | ||
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run playsound particle.soul_escape player @a ~ ~ ~ 2 0 0 | ||
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run playsound minecraft:block.sculk_sensor.clicking player @a ~ ~ ~ 0.6 0.4 0 | ||
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..64] at @s run function asset:artifact/0664.soul_fire_armor/trigger/fullset/particle | ||
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run playsound block.fire.ambient player @a ~ ~ ~ 2 0.8 0 | ||
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run playsound particle.soul_escape player @a ~ ~ ~ 2 0 0 | ||
execute at @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run playsound minecraft:block.sculk_sensor.clicking player @a ~ ~ ~ 0.6 0.4 0 | ||
|
||
# ダメージ設定 | ||
data modify storage lib: Argument.Damage set value 80.0f | ||
data modify storage lib: Argument.AttackType set value "Physical" | ||
data modify storage lib: Argument.ElementType set value "Fire" | ||
function lib:damage/modifier | ||
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..6] run function lib:damage/ | ||
execute as @e[type=#lib:living,type=!player,tag=Victim,distance=..64] run function lib:damage/ | ||
# リセット | ||
function lib:damage/reset | ||
|
||
# クールタイム設定 | ||
scoreboard players set @s IG.AttackCT 40 | ||
scoreboard players set @s IG.AttackCT 20 |
6 changes: 3 additions & 3 deletions
6
.../trigger/fullset/melee_trigger.mcfunction → ...trigger/fullset/attack_trigger.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,8 +1,8 @@ | ||
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/melee_trigger | ||
#> asset:artifact/0664.soul_fire_armor/trigger/fullset/attack_trigger | ||
# | ||
# フルセット検知して近接攻撃するよ | ||
# | ||
# @within tag/function asset:artifact/attack/melee | ||
# @within tag/function asset:artifact/attack | ||
|
||
# 攻撃 | ||
execute if entity @s[tag=IG.Fullset] unless entity @s[scores={IG.AttackCT=0..}] run function asset:artifact/0664.soul_fire_armor/trigger/fullset/melee | ||
execute if entity @s[tag=IG.Fullset] unless entity @s[scores={IG.AttackCT=0..}] run function asset:artifact/0664.soul_fire_armor/trigger/fullset/attack |
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
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,5 +1,6 @@ | ||
{ | ||
"values": [ | ||
"asset:artifact/0664.soul_fire_armor/trigger/fullset/attack_trigger", | ||
"asset:artifact/example/trigger/1.trigger" | ||
] | ||
} |
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