fix: ReqCities, ReqRegion 버그
This commit is contained in:
1 parent
9f81c760d0
commit
84fee0f1f2
7 files changed
+52
-42
No files matched your search
@@ -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