From 3f01bb018f0183aef871883d791324875d1b448f Mon Sep 17 00:00:00 2001 From: yabane_27 Date: Mon, 6 Jan 2025 15:35:20 +0900 Subject: [PATCH 1/2] =?UTF-8?q?NO-ISSUE=20Fix=20=E7=B5=82=E7=AB=AF?= =?UTF-8?q?=E3=81=AB=E6=94=B9=E8=A1=8C=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../act/white_mage/sacred_pillar/player_damage.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/skill/functions/act/white_mage/sacred_pillar/player_damage.mcfunction b/data/skill/functions/act/white_mage/sacred_pillar/player_damage.mcfunction index 5d8f79fad5..a86df0c3cd 100644 --- a/data/skill/functions/act/white_mage/sacred_pillar/player_damage.mcfunction +++ b/data/skill/functions/act/white_mage/sacred_pillar/player_damage.mcfunction @@ -6,4 +6,4 @@ scoreboard players operation _ Calc += _ _ data modify storage score_damage: Argument set value {Damage:6,EPF:0,BypassArmor:true,BypassResistance:true,DeathCause:'[{"translate":"聖域を生み出すために%1$sはチリとなった","with":[{"selector":"@s"}]}]'} execute store result storage score_damage: Argument.Damage double 0.01 run scoreboard players get _ Calc -function score_damage:api/attack \ No newline at end of file +function score_damage:api/attack From e5554221502b561c54dae132bb5611a0634a5e3a Mon Sep 17 00:00:00 2001 From: yabane_27 Date: Mon, 6 Jan 2025 16:27:28 +0900 Subject: [PATCH 2/2] =?UTF-8?q?GH-635=20=E3=82=BB=E3=82=A4=E3=82=AF?= =?UTF-8?q?=E3=83=AA=E3=83=83=E3=83=89=E3=83=94=E3=83=A9=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E5=80=8D=E7=8E=87=E3=82=92=E5=88=B6=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../functions/act/white_mage/sacred_pillar/act1.mcfunction | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/skill/functions/act/white_mage/sacred_pillar/act1.mcfunction b/data/skill/functions/act/white_mage/sacred_pillar/act1.mcfunction index f4d87fc690..05eeb04d55 100644 --- a/data/skill/functions/act/white_mage/sacred_pillar/act1.mcfunction +++ b/data/skill/functions/act/white_mage/sacred_pillar/act1.mcfunction @@ -48,6 +48,9 @@ scoreboard players operation @s _ /= _ _ scoreboard players operation _ SpecialAttack = @s _ scoreboard players operation _ SpecialAttack += _ Calc +# 倍率制限 +execute if score _ SpecialAttack matches 3001.. run scoreboard players set _ SpecialAttack 3000 + #ダメージあれば成功 execute if score _ SpecialAttack matches ..0 run function makeup:skill/act/white_mage/sacred_pillar/failure execute if score _ SpecialAttack matches ..0 run data modify storage skill: Success set value 0b