From d1fe9ca364c9e9dbd5fc3c8b7ea2cf5514f05c7e Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 19 Sep 2018 00:39:15 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B0=A8=EB=B3=91=EC=9D=80=20=EC=84=B1?= =?UTF-8?q?=EB=B2=BD=20=EC=A0=84=ED=88=AC=EC=8B=9C=20=EB=B6=80=EC=83=81?= =?UTF-8?q?=EC=9D=84=20=EC=9E=85=EC=A7=80=20=EC=95=8A=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/WarUnitGeneral.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index 19af6202..afe9388c 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -355,6 +355,13 @@ class WarUnitGeneral extends WarUnit{ $specialWar = $this->getSpecialWar(); + if( + $this->getCrewType()->armType == GameUnitConst::T_SIEGE && + $oppose->getCrewType()->armType == GameUnitConst::T_CASTLE + ){ + $this->activateSkill('부상무효'); + } + if($specialWar == 62){ $oppose->activateSkill('저격불가'); $this->activateSkill('부상무효');