fix: NPC AI가 현재 병종 기술등급을 고려하지 않는 문제 수정
- 아직 사용하지 않는 징병 페이지 요구 기술 항목도 수정
This commit is contained in:
@@ -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