From 3f2d36284ff11743d87112e7f2c1d50577e457ad Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 28 Oct 2018 03:35:32 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9E=9C=EC=9E=84=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EB=A7=88=EC=A0=80=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_등용.php | 1 + hwe/sammo/Command/General/che_임관.php | 1 + 2 files changed, 2 insertions(+) diff --git a/hwe/sammo/Command/General/che_등용.php b/hwe/sammo/Command/General/che_등용.php index 5d9caee7..7659e9ab 100644 --- a/hwe/sammo/Command/General/che_등용.php +++ b/hwe/sammo/Command/General/che_등용.php @@ -59,6 +59,7 @@ class che_등용 extends Command\GeneralCommand{ [$reqGold, $reqRice] = $this->getCost(); $this->runnableConstraints=[ + ['ReqEnvValue', 'join_mode', '==', 'onlyRandom', '랜덤 임관만 가능합니다'], ['NotBeNeutral'], ['NotOpeningPart'], ['OccupiedCity'], diff --git a/hwe/sammo/Command/General/che_임관.php b/hwe/sammo/Command/General/che_임관.php index b3cdd774..38548ebe 100644 --- a/hwe/sammo/Command/General/che_임관.php +++ b/hwe/sammo/Command/General/che_임관.php @@ -84,6 +84,7 @@ class che_임관 extends Command\GeneralCommand{ $relYear = $env['year'] - $env['startyear']; $this->runnableConstraints=[ + ['ReqEnvValue', 'join_mode', '==', 'onlyRandom', '랜덤 임관만 가능합니다'], ['BeNeutral'], ['ExistsDestNation'], ['AllowJoinDestNation', $relYear],