Skip to content

Commit

Permalink
細かな修正
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaCoat committed Aug 19, 2024
1 parent 763d53a commit 3e3d045
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
execute at @s run function asset:mob/0391.axia_first/ai/projectile/critical/vfx/tick
execute if score @s AV.ProjectileTick matches 1 run playsound entity.zombie_villager.converted hostile @a[distance=..32] ~ ~ ~ 1 1.5 0

# 処理
# 発動処理
execute if score @s AV.ProjectileTick matches 21 if entity @s[tag=!AV.CriticalOpening] run function asset:mob/0391.axia_first/ai/projectile/critical/3.cast

#
execute if score @s AV.ProjectileTick matches 81 run function asset:mob/0391.axia_first/ai/projectile/critical/3.cast
# 発動処理(特殊)
execute if score @s AV.ProjectileTick matches 81.. run function asset:mob/0391.axia_first/ai/projectile/critical/3.cast
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
execute at @s run function asset:mob/0391.axia_first/ai/projectile/shock_wave/vfx/tick
execute if score @s AV.ProjectileTick matches 1 run playsound entity.zombie_villager.converted hostile @a[distance=..32] ~ ~ ~ 1 1.5 0

# 処理
execute if score @s AV.ProjectileTick matches 31 run function asset:mob/0391.axia_first/ai/projectile/shock_wave/3.cast
# 発動処理
execute if score @s AV.ProjectileTick matches 31.. run function asset:mob/0391.axia_first/ai/projectile/shock_wave/3.cast
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
particle flame ^ ^ ^-1 0 0 0 0.15 4

# スコアが25以上ならキル
execute if score @s AV.ProjectileTick matches 25 on passengers run kill @s
execute if score @s AV.ProjectileTick matches 25 run kill @s
execute if score @s AV.ProjectileTick matches 25.. on passengers run kill @s
execute if score @s AV.ProjectileTick matches 25.. run kill @s

# ヒット判定
# ダメージ
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@
#
# @within function asset:mob/0391.axia_first/tick/

# スコアが1以上なら可視化
execute if score @s AV.ProjectileTick matches 1.. run data modify entity @s item set value {id:"minecraft:leather_horse_armor",Count:1b,tag:{display:{color:16711731},CustomModelData:20356}}
# スコアが1なら可視化
execute if score @s AV.ProjectileTick matches 1 run data modify entity @s item set value {id:"minecraft:leather_horse_armor",Count:1b,tag:{display:{color:16711731},CustomModelData:20356}}

# スコアが2以上なら変更
execute if score @s AV.ProjectileTick matches 2.. run data modify entity @s item.tag.CustomModelData set value 20357
# スコアが2なら変更
execute if score @s AV.ProjectileTick matches 2 run data modify entity @s item.tag.CustomModelData set value 20357

# スコアが3以上なら変更
execute if score @s AV.ProjectileTick matches 3.. run data modify entity @s item.tag.CustomModelData set value 20358
# スコアが3なら変更
execute if score @s AV.ProjectileTick matches 3 run data modify entity @s item.tag.CustomModelData set value 20358

# スコアが4以上なら変更
execute if score @s AV.ProjectileTick matches 4.. run data modify entity @s item.tag.CustomModelData set value 20359
# スコアが4なら変更
execute if score @s AV.ProjectileTick matches 4 run data modify entity @s item.tag.CustomModelData set value 20359

# スコアが5以上なら変更
execute if score @s AV.ProjectileTick matches 5.. run data modify entity @s item.tag.CustomModelData set value 20360
# スコアが5なら変更
execute if score @s AV.ProjectileTick matches 5 run data modify entity @s item.tag.CustomModelData set value 20360

# スコアが6以上なら変更
execute if score @s AV.ProjectileTick matches 6.. run data modify entity @s item.tag.CustomModelData set value 20361
# スコアが6なら変更
execute if score @s AV.ProjectileTick matches 6 run data modify entity @s item.tag.CustomModelData set value 20361

# スコアが7以上なら変更
execute if score @s AV.ProjectileTick matches 7.. run data modify entity @s item.tag.CustomModelData set value 20362
# スコアが7なら変更
execute if score @s AV.ProjectileTick matches 7 run data modify entity @s item.tag.CustomModelData set value 20362

# スコアが8以上ならキル
execute if score @s AV.ProjectileTick matches 8 run kill @s
execute if score @s AV.ProjectileTick matches 8.. run kill @s

# スコア上昇
scoreboard players add @s AV.ProjectileTick 1
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
execute at @s run function asset:mob/0391.axia_first/ai/projectile/sword/vfx/tick
execute if score @s AV.ProjectileTick matches 1 run playsound entity.zombie_villager.converted hostile @a[distance=..32] ~ ~ ~ 1 1.5 0

# 処理
execute if score @s AV.ProjectileTick matches 41 run function asset:mob/0391.axia_first/ai/projectile/sword/3.cast
# 発動処理
execute if score @s AV.ProjectileTick matches 41.. run function asset:mob/0391.axia_first/ai/projectile/sword/3.cast

0 comments on commit 3e3d045

Please sign in to comment.