From b9e31e39e20a7ef4124b337328a0b7d8fabb5fdf Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 21 Aug 2018 11:51:09 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B3=B4=EB=B3=91=EC=9D=80=20=EC=83=81?= =?UTF-8?q?=EB=8C=80=EC=9D=98=20=ED=9A=8C=ED=94=BC=EB=A5=BC=205%p=20?= =?UTF-8?q?=EA=B0=90=EC=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/WarUnitGeneral.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index f0979951..18ba1602 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -135,6 +135,10 @@ 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;