From 1b3380c2caa924a7ce16b47076d553a856c5548f Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 7 Aug 2018 04:00:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=B1=EB=B2=BD=EC=9D=84=20=EB=95=8C?= =?UTF-8?q?=EB=A0=B8=EC=9D=84=20=EB=95=8C=20=EC=B0=A8=EC=88=99=EC=9D=B4=20?= =?UTF-8?q?=EC=98=A4=EB=A5=B4=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_gamerule.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwe/func_gamerule.php b/hwe/func_gamerule.php index b719ecbd..8f001e13 100644 --- a/hwe/func_gamerule.php +++ b/hwe/func_gamerule.php @@ -125,6 +125,10 @@ function addGenDex($no, $atmos, $train, $type, $exp) { $db = DB::db(); $armType = GameUnitConst::byId($type)->armType; + if($armType == GameUnitConst::T_CASTLE){ + $armType = GameUnitConst::T_SIEGE; + } + if($armType < 0){ return; }