From cbc6e526c3654b66bea53c9700de7707d4f111f5 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 19 May 2020 00:32:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95=EC=8B=9C=EB=8F=842?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/SpecialityHelper.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/hwe/sammo/SpecialityHelper.php b/hwe/sammo/SpecialityHelper.php index ef4e958a..cb4c70cb 100644 --- a/hwe/sammo/SpecialityHelper.php +++ b/hwe/sammo/SpecialityHelper.php @@ -98,7 +98,7 @@ class SpecialityHelper{ $myCond |= self::STAT_INTEL; } - if($myCond){ + if($myCond !== 0){ if($leadership < GameConst::$chiefStatMin){ $myCond |= self::STAT_NOT_LEADERSHIP; } @@ -121,10 +121,6 @@ class SpecialityHelper{ $myCond |= self::STAT_INTEL; } } - - if(!$myCond){ - $myCond = self::STAT_INTEL; - } return $myCond; }