diff --git a/hwe/sammo/Command/General/che_건국.php b/hwe/sammo/Command/General/che_건국.php index 6603ca99..38f0ed4d 100644 --- a/hwe/sammo/Command/General/che_건국.php +++ b/hwe/sammo/Command/General/che_건국.php @@ -18,6 +18,7 @@ use function \sammo\getAllNationStaticInfo; use \sammo\Constraint\ConstraintHelper; use sammo\Enums\InheritanceKey; +use sammo\Enums\PenaltyKey; use function sammo\buildNationTypeClass; use function sammo\genGenericUniqueRNGFromGeneral; @@ -102,6 +103,7 @@ class che_건국 extends Command\GeneralCommand ConstraintHelper::CheckNationNameDuplicate($nationName), ConstraintHelper::AllowJoinAction(), ConstraintHelper::ConstructableCity(), + ConstraintHelper::NoPanelty(PenaltyKey::NoFoundNation), ]; } diff --git a/hwe/sammo/Enums/PenaltyKey.php b/hwe/sammo/Enums/PenaltyKey.php index 89725679..0e9302f7 100644 --- a/hwe/sammo/Enums/PenaltyKey.php +++ b/hwe/sammo/Enums/PenaltyKey.php @@ -13,5 +13,5 @@ enum PenaltyKey: string{ case NoBanGeneral = 'noBanGeneral'; case NoChiefTurnInput = 'noChiefTurnInput'; case NoChiefChange = 'noChiefChange'; - + case NoFoundNation = 'noFoundNation'; } \ No newline at end of file