From 71ffc3087efe68d122f787f869014a2c83ac53b9 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 11 Aug 2018 08:49:23 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=ED=88=AC=20=EA=B3=B5=EC=8B=9D=20?= =?UTF-8?q?=ED=95=AB=ED=94=BD=EC=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/process_war.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/process_war.php b/hwe/process_war.php index 8961d398..3a48c006 100644 --- a/hwe/process_war.php +++ b/hwe/process_war.php @@ -668,7 +668,7 @@ function processWar($general, $city) { $myDef = $generalCrewType->getComputedDefence($general, $nation['tech']); $opAtt = $opposeCrewType->getComputedAttack($oppose, $destnation['tech']); - $opDef = $opposeCrewType->getComputedAttack($oppose, $destnation['tech']); + $opDef = $opposeCrewType->getComputedDefence($oppose, $destnation['tech']); // 감소할 병사 수 $myCrew = GameConst::$armperphase + $opAtt - $myDef; $opCrew = GameConst::$armperphase + $myAtt - $opDef;