diff --git a/hwe/sammo/Command/General/che_건국.php b/hwe/sammo/Command/General/che_건국.php index 38f0ed4d..469b6091 100644 --- a/hwe/sammo/Command/General/che_건국.php +++ b/hwe/sammo/Command/General/che_건국.php @@ -82,7 +82,8 @@ class che_건국 extends Command\GeneralCommand $this->minConditionConstraints = [ ConstraintHelper::BeOpeningPart($relYear + 1), - ConstraintHelper::ReqNationValue('level', '국가규모', '==', 0, '정식 국가가 아니어야합니다.') + ConstraintHelper::ReqNationValue('level', '국가규모', '==', 0, '정식 국가가 아니어야합니다.'), + ConstraintHelper::NoPanelty(PenaltyKey::NoFoundNation), ]; } diff --git a/hwe/sammo/Command/General/che_임관.php b/hwe/sammo/Command/General/che_임관.php index 5be02ea0..7f3baaf5 100644 --- a/hwe/sammo/Command/General/che_임관.php +++ b/hwe/sammo/Command/General/che_임관.php @@ -17,6 +17,7 @@ use function \sammo\getNationStaticInfo; use \sammo\Constraint\ConstraintHelper; use sammo\Enums\InheritanceKey; +use sammo\Enums\PenaltyKey; class che_임관 extends Command\GeneralCommand { @@ -66,7 +67,8 @@ class che_임관 extends Command\GeneralCommand $this->minConditionConstraints = [ ConstraintHelper::ReqEnvValue('join_mode', '!=', 'onlyRandom', '랜덤 임관만 가능합니다'), ConstraintHelper::BeNeutral(), - ConstraintHelper::AllowJoinAction() + ConstraintHelper::AllowJoinAction(), + ConstraintHelper::NoPanelty(PenaltyKey::NoChosenAssignment), ]; } @@ -92,7 +94,8 @@ class che_임관 extends Command\GeneralCommand ConstraintHelper::BeNeutral(), ConstraintHelper::ExistsDestNation(), ConstraintHelper::AllowJoinDestNation($relYear), - ConstraintHelper::AllowJoinAction() + ConstraintHelper::AllowJoinAction(), + ConstraintHelper::NoPanelty(PenaltyKey::NoChosenAssignment), ]; }