From 4acb6304df7401a5e5f3f7836c5d6f5fba433bee Mon Sep 17 00:00:00 2001 From: hide_d Date: Thu, 26 Jul 2018 15:40:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=ED=88=AC=20=EB=94=94=EB=B2=84?= =?UTF-8?q?=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/process_war.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hwe/process_war.php b/hwe/process_war.php index cf9dca76..0b6ec839 100644 --- a/hwe/process_war.php +++ b/hwe/process_war.php @@ -299,7 +299,7 @@ function processWar($general, $city) { $ratio = rand() % 100; // 0 ~ 99 $ratio2 = $generalCrewType->avoid; //회피율 $ratio2 = Util::round($ratio2 * $general['train'] / 100); //훈련 반영 - LogText('avoid0', [date("Ymd_His"), $generalCrewType->id, $general, $ratio2]); + LogText('avoid0', [date("Ymd_His"), $generalCrewType->id, $general['train'], $ratio2]); //특기보정 : 궁병 if($general['special2'] == 51) { $ratio2 += 20; } //도구 보정 : 둔갑천서, 태평요술 @@ -1068,7 +1068,7 @@ function processWar($general, $city) { $ratio = rand() % 100; // 0 ~ 99 $ratio2 = $generalCrewType->avoid; //회피율 $ratio2 = Util::round($ratio2 * $general['train'] / 100); //훈련 반영 - LogText('avoid1', [date("Ymd_His"), $generalCrewType->id, $general, $ratio2]); + LogText('avoid1', [date("Ymd_His"), $generalCrewType->id, $general['train'], $ratio2]); //특기보정 : 돌격, 궁병 if($oppose['special2'] == 60) { $ratio2 -= 100; } if($general['special2'] == 51) { $ratio2 += 20; } @@ -1092,7 +1092,7 @@ function processWar($general, $city) { $ratio = rand() % 100; // 0 ~ 99 $ratio2 = $opposeCrewType->avoid; //회피율 $ratio2 = Util::round($ratio2 * $oppose['train'] / 100); //훈련 반영 - LogText('avoid2', [date("Ymd_His"), $opposeCrewType->id, $oppose, $ratio2]); + LogText('avoid2', [date("Ymd_His"), $opposeCrewType->id, $oppose['train'], $ratio2]); // 특기보정 : 돌격, 궁병 if($general['special2'] == 60) { $ratio2 -= 100; } if($oppose['special2'] == 51) { $ratio2 += 20; }