천도 버그 수정

This commit is contained in:
2020-04-30 03:16:16 +09:00
parent d3c4dd59d2
commit e2ec3ef532
4 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ class che_천도 extends Command\NationCommand{
ConstraintHelper::BeChief(),
ConstraintHelper::SuppliedCity(),
ConstraintHelper::SuppliedDestCity(),
ConstraintHelper::NotSameDestCity(),
ConstraintHelper::ReqNationValue('capital', '수도', '!=', $this->destCity['city'], '이미 수도입니다.'),
ConstraintHelper::ReqNationGold(GameConst::$basegold+$reqGold),
ConstraintHelper::ReqNationRice(GameConst::$baserice+$reqRice),
];
@@ -110,7 +110,7 @@ class che_천도 extends Command\NationCommand{
}
public function getPreReqTurn():int{
return 1 + $this->getDistance()*2;
return $this->getDistance()*2;
}
public function getPostReqTurn():int{