From 7120bf8d3b76efaeb75f3239f9be8443d76213e7 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 21 Aug 2018 11:54:01 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B4=EB=B3=91=20=EC=83=81=EB=8C=80=20?= =?UTF-8?q?=ED=9A=8C=ED=94=BC=EC=9C=A8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/WarUnitGeneral.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index 18ba1602..2a242d87 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -135,10 +135,6 @@ class WarUnitGeneral extends WarUnit{ $avoidRatio = $this->getCrewType()->avoid / 100; $avoidRatio *= $this->getComputedTrain() / 100; - if($this->getOppose()->getCrewType()->armType == GameUnitConst::T_FOOTMAN){ - $avoidRatio -= 0.05; - } - //특기보정 : 궁병 if($specialWar == 51){ $avoidRatio += 0.2; @@ -149,6 +145,10 @@ class WarUnitGeneral extends WarUnit{ $avoidRatio += 0.2; } + if($this->getOppose()->getCrewType()->armType == GameUnitConst::T_FOOTMAN){ + $avoidRatio *= 0.75; + } + return $avoidRatio; }