수정시도2
This commit is contained in:
@@ -98,7 +98,7 @@ class SpecialityHelper{
|
|||||||
$myCond |= self::STAT_INTEL;
|
$myCond |= self::STAT_INTEL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($myCond){
|
if($myCond !== 0){
|
||||||
if($leadership < GameConst::$chiefStatMin){
|
if($leadership < GameConst::$chiefStatMin){
|
||||||
$myCond |= self::STAT_NOT_LEADERSHIP;
|
$myCond |= self::STAT_NOT_LEADERSHIP;
|
||||||
}
|
}
|
||||||
@@ -121,10 +121,6 @@ class SpecialityHelper{
|
|||||||
$myCond |= self::STAT_INTEL;
|
$myCond |= self::STAT_INTEL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$myCond){
|
|
||||||
$myCond = self::STAT_INTEL;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $myCond;
|
return $myCond;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user