fix: NPC AI가 현재 병종 기술등급을 고려하지 않는 문제 수정
- 아직 사용하지 않는 징병 페이지 요구 기술 항목도 수정
This commit is contained in:
1 parent
dae5f65baa
commit
0a39ba1023
2 files changed
+2
-2
No files matched your search
@@ -281,7 +281,7 @@ class che_징병 extends Command\GeneralCommand
|
||||
|
||||
$crewObj->id = $unit->id;
|
||||
/** @var ?\sammo\GameUnitConstraints\ReqTech */
|
||||
$reqTechObj = $unit->reqConstraints['reqTech'] ?? null;
|
||||
$reqTechObj = $unit->reqConstraints['ReqTech'] ?? null;
|
||||
$crewObj->reqTech = $reqTechObj ? $reqTechObj->reqTech : 0;
|
||||
|
||||
/** @var ?\sammo\GameUnitConstraint\ReqMinRelYear */
|
||||
|
||||
Reference in new issue
Block a user