From f12262b946205546acf8bab624e76fd52091e781 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 8 Jun 2024 16:16:52 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B1=B4=EA=B5=AD=20=EB=B6=88=EA=B0=80?= =?UTF-8?q?=20=ED=8E=98=EB=84=90=ED=8B=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_건국.php | 2 ++ hwe/sammo/Enums/PenaltyKey.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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