전략 턴 버그 수정. 글로벌 쿨 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
+3 -3
View File
@@ -72,7 +72,7 @@ class che_급습 extends Command\NationCommand
$this->minConditionConstraints = [
ConstraintHelper::OccupiedCity(),
ConstraintHelper::BeChief(),
ConstraintHelper::AvailableStrategicCommand($this->getPreReqTurn()),
ConstraintHelper::AvailableStrategicCommand(),
];
}
@@ -89,7 +89,7 @@ class che_급습 extends Command\NationCommand
12,
'선포 12개월 이상인 상대국에만 가능합니다.'
),
ConstraintHelper::AvailableStrategicCommand($this->getPreReqTurn()),
ConstraintHelper::AvailableStrategicCommand(),
];
}
@@ -193,7 +193,7 @@ class che_급습 extends Command\NationCommand
$logger->pushNationalHistoryLog("<Y>{$generalName}</>{$josaYi} <D><b>{$destNationName}</b></>에 <M>{$commandName}</>{$josaUl} 발동");
$db->update('nation', [
'strategic_cmd_limit' => $this->getPostReqTurn()
'strategic_cmd_limit' => $this->generalObj->onCalcStrategic($this->getName(), 'globalDelay', 9)
], 'nation=%i', $nationID);
$db->update('diplomacy', [
'term' => $db->sqleval('`term` - %i', 3),