랜임 코드 마저 반영

This commit is contained in:
2018-10-28 03:35:32 +09:00
parent 60d5184a7b
commit 3f2d36284f
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -59,6 +59,7 @@ class che_등용 extends Command\GeneralCommand{
[$reqGold, $reqRice] = $this->getCost();
$this->runnableConstraints=[
['ReqEnvValue', 'join_mode', '==', 'onlyRandom', '랜덤 임관만 가능합니다'],
['NotBeNeutral'],
['NotOpeningPart'],
['OccupiedCity'],
+1
View File
@@ -84,6 +84,7 @@ class che_임관 extends Command\GeneralCommand{
$relYear = $env['year'] - $env['startyear'];
$this->runnableConstraints=[
['ReqEnvValue', 'join_mode', '==', 'onlyRandom', '랜덤 임관만 가능합니다'],
['BeNeutral'],
['ExistsDestNation'],
['AllowJoinDestNation', $relYear],