전략 사용 방식 변경
This commit is contained in:
@@ -60,7 +60,7 @@ class che_수몰 extends Command\NationCommand{
|
||||
$this->minConditionConstraints=[
|
||||
ConstraintHelper::OccupiedCity(),
|
||||
ConstraintHelper::BeChief(),
|
||||
ConstraintHelper::AvailableStrategicCommand(),
|
||||
ConstraintHelper::AvailableStrategicCommand($this->getPreReqTurn()),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ class che_수몰 extends Command\NationCommand{
|
||||
ConstraintHelper::NotNeutralDestCity(),
|
||||
ConstraintHelper::NotOccupiedDestCity(),
|
||||
ConstraintHelper::BattleGroundCity(),
|
||||
ConstraintHelper::AvailableStrategicCommand(),
|
||||
ConstraintHelper::AvailableStrategicCommand($this->getPreReqTurn()),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ class che_수몰 extends Command\NationCommand{
|
||||
$logger->pushNationalHistoryLog("<Y>{$generalName}</>{$josaYi} <G><b>{$destCityName}</b></>에 <M>수몰</>을 발동");
|
||||
|
||||
$db->update('nation', [
|
||||
'strategic_cmd_limit' => $this->getPostReqTurn()
|
||||
'strategic_cmd_limit' => 12
|
||||
], 'nation=%i', $nationID);
|
||||
|
||||
$this->setResultTurn(new LastTurn($this->getName(), $this->arg, 0));
|
||||
|
||||
Reference in New Issue
Block a user