Merge branch 'ng_turn' of ssh://storage.hided.net:2525/devsam/core into ng_turn

This commit is contained in:
2020-04-14 01:49:46 +09:00
6 changed files with 554 additions and 1111 deletions
+5 -1
View File
@@ -48,10 +48,14 @@ class che_NPC능동 extends Command\GeneralCommand{
$this->setNation();
$this->runnableConstraints=[
$this->reservableConstraints=[
ConstraintHelper::MustBeNPC()
];
$this->runnableConstraints=[
];
}
public function getCost():array{
+1 -1
View File
@@ -104,7 +104,7 @@ class che_징병 extends Command\GeneralCommand{
$this->runnableConstraints=[
ConstraintHelper::NotBeNeutral(),
ConstraintHelper::OccupiedCity(),
ConstraintHelper::ReqCityCapacity('pop', '주민', 30000 + $reqCrew),
ConstraintHelper::ReqCityCapacity('pop', '주민', GameConst::$minAvailableRecruitPop + $reqCrew),
ConstraintHelper::ReqCityTrust(20),
ConstraintHelper::ReqGeneralGold($reqGold),
ConstraintHelper::ReqGeneralRice($reqRice),