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; }