Skip to content

Commit

Permalink
指摘された点を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
EllaCoat committed Dec 27, 2024
1 parent f2d440a commit 3920f24
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# アニメーションストップ
function asset:mob/0341.louvert/tick/animation/all_stop

# ラストスペル
# カウンターアニメーション移行
scoreboard players set @s 9H.AnimationNum 101

# アニメーションリセット
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# アニメーションストップ
function asset:mob/0341.louvert/tick/animation/all_stop

# ラストスペル
# 怯みアニメーション移行
scoreboard players set @s 9H.AnimationNum 21
execute if predicate lib:random_pass_per/50 run scoreboard players set @s 9H.AnimationNum 22

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#
# @within function asset:mob/0341.louvert/hurt/

# 体力が半分以下かどうかを検知する
# 体力割合を検知する
function api:mob/get_health_percent
# 代入する
execute store result score @s 9H.HPPer run data get storage api: Return.HealthPer 100

# ハード:体力10%以下の場合後半戦に移行
# ハード:体力10%以下の場合、ラストスペルに移行
execute if predicate api:global_vars/difficulty/min/hard if score @s 9H.HPPer matches ..10 run function asset:mob/0341.louvert/hurt/last_spell_start
2 changes: 0 additions & 2 deletions Asset/data/asset/functions/mob/0341.louvert/load.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@
scoreboard objectives add 9H.AnimationTick dummy
scoreboard objectives add 9H.AnimationNum dummy
scoreboard objectives add 9H.SkillSelect dummy
scoreboard objectives add 9H.ProjectileTick dummy
scoreboard objectives add 9H.HPPer dummy
scoreboard objectives add 9H.FalterCount dummy
scoreboard objectives add 9H.SoulBombHard dummy

0 comments on commit 3920f24

Please sign in to comment.