전략 턴 버그 수정. 글로벌 쿨 9턴으로 변경

This commit is contained in:
2020-07-17 00:16:48 +09:00
parent 23505326c7
commit 923cac5408
8 changed files with 63 additions and 60 deletions
@@ -50,7 +50,7 @@ class che_의병모집 extends Command\NationCommand
ConstraintHelper::BeChief(),
ConstraintHelper::NotBeNeutral(),
ConstraintHelper::OccupiedCity(),
ConstraintHelper::AvailableStrategicCommand($this->getPreReqTurn()),
ConstraintHelper::AvailableStrategicCommand(),
ConstraintHelper::NotOpeningPart($relYear),
];
}
@@ -232,7 +232,7 @@ class che_의병모집 extends Command\NationCommand
$gameStor->npccount = $lastCreatGenIdx;
$db->update('nation', [
'gennum' => $db->sqleval('gennum + %i', $createGenCnt),
'strategic_cmd_limit' => 12
'strategic_cmd_limit' => $this->generalObj->onCalcStrategic($this->getName(), 'globalDelay', 9)
], 'nation=%i', $nationID);
$this->setResultTurn(new LastTurn(static::getName(), $this->arg));