fix: 버그 수정
This commit is contained in:
@@ -2587,7 +2587,7 @@ class GeneralAI
|
|||||||
if ($currCrewType->isValid($general, $cities, $regions, $relYear, $tech, $this->nation['aux'])) {
|
if ($currCrewType->isValid($general, $cities, $regions, $relYear, $tech, $this->nation['aux'])) {
|
||||||
$reqTechObj = $currCrewType->reqConstraints['ReqTech'] ?? null;
|
$reqTechObj = $currCrewType->reqConstraints['ReqTech'] ?? null;
|
||||||
if($reqTechObj){
|
if($reqTechObj){
|
||||||
$reqTech = $reqTechObj->getValue($tech);
|
$reqTech = $reqTechObj->reqTech;
|
||||||
if ($reqTech >= 2000) {
|
if ($reqTech >= 2000) {
|
||||||
$type = $currCrewType->id;
|
$type = $currCrewType->id;
|
||||||
} else if ($currCrewType->armType != $armType && $reqTech >= 1000) {
|
} else if ($currCrewType->armType != $armType && $reqTech >= 1000) {
|
||||||
|
|||||||
Reference in New Issue
Block a user