From 3e06304dc7bdc94926435412932a4b213cabf66a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A5=98=ED=99=94=EC=98=81?= Date: Sat, 23 Aug 2025 09:23:00 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=86=A0=EB=84=88=EB=A8=BC=ED=8A=B8=20?= =?UTF-8?q?=EB=B6=84=EB=85=B8=20=EA=B3=B5=EA=B2=A9=20=ED=99=95=EB=A5=A0=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_tournament.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hwe/func_tournament.php b/hwe/func_tournament.php index 9cac4a1b..c8046516 100644 --- a/hwe/func_tournament.php +++ b/hwe/func_tournament.php @@ -1153,21 +1153,25 @@ function fight($tnmt_type, $tnmt, $phs, $group, $g1, $g2, $type) ]; //막판 분노 + $factor1 = 1.0; + $factor2 = 1.0; $ratio = rand() % 300; if ($e1 / 5 > $energy1 && $damage1 > $damage2 && $gen1[$tp] >= $ratio) { - $damage2 *= Util::round((rand() % 301 + 200) / 100); // 200 ~ 500% + $factor2 = Util::round((rand() % 301 + 200) / 100); // 200 ~ 500% $critical1 = 1; $str = Util::choiceRandom($crticialSkillMap[$tnmt_type]); $log[] = "{$gen1['name']}의 분노의 {$str} 공격!"; } $ratio = rand() % 300; if ($e2 / 5 > $energy2 && $damage2 > $damage1 && $gen2[$tp] >= $ratio) { - $damage1 *= Util::round((rand() % 301 + 200) / 100); // 200 ~ 500% + $factor1 = Util::round((rand() % 301 + 200) / 100); // 200 ~ 500% $critical2 = 1; - $str = Util::choiceRandom($crticialSkillMap[$tnmt_type]); $log[] = "{$gen2['name']}의 분노의 {$str} 공격!"; } + $damage1 *= $factor1; + $damage2 *= $factor2; + //1합 승부 if ($phase == 1) {