수정시도2

This commit is contained in:
2020-05-19 00:32:40 +09:00
parent 96041faefd
commit cbc6e526c3
+1 -5
View File
@@ -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;
}