feat: 건국 불가 페널티

This commit is contained in:
2024-06-08 16:16:52 +00:00
parent 9415d79a3a
commit f12262b946
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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),
];
}
+1 -1
View File
@@ -13,5 +13,5 @@ enum PenaltyKey: string{
case NoBanGeneral = 'noBanGeneral';
case NoChiefTurnInput = 'noChiefTurnInput';
case NoChiefChange = 'noChiefChange';
case NoFoundNation = 'noFoundNation';
}