fix: ReqCities, ReqRegion 버그
This commit is contained in:
@@ -297,7 +297,7 @@ class che_징병 extends Command\GeneralCommand
|
||||
}
|
||||
*/
|
||||
|
||||
$crewObj->notAvailable = !$unit->isValid($ownCities, $ownRegions, $relativeYear, $tech);
|
||||
$crewObj->notAvailable = !$unit->isValid($general, $ownCities, $ownRegions, $relativeYear, $tech);
|
||||
|
||||
$crewObj->baseRice = $general->onCalcDomestic($this->getName(), 'rice', $unit->riceWithTech($tech), ['armType' => $unit->armType]);
|
||||
$crewObj->baseCost = $general->onCalcDomestic($this->getName(), 'cost', $unit->costWithTech($tech), ['armType' => $unit->armType]);
|
||||
@@ -313,7 +313,7 @@ class che_징병 extends Command\GeneralCommand
|
||||
$crewObj->img = ServConfig::$gameImagePath . "/crewtype" . $unit->id . ".png";
|
||||
}
|
||||
|
||||
$crewObj->info = $unit->getInfo();
|
||||
$crewObj->info = $unit->getInfoArr();
|
||||
|
||||
$armCrewType['values'][] = $crewObj;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user