From 5a6088ae5cc3cfead6b86620e5f32195dcec89b3 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Tue, 26 Dec 2023 12:59:00 +0000 Subject: [PATCH] =?UTF-8?q?game:=20=ED=95=84=EC=A4=91=EA=B3=84=EB=9E=B5?= =?UTF-8?q?=EC=97=90=20=EC=B4=88=EB=B0=983=EB=85=84=20=EC=A0=9C=ED=95=9C?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/UserAction/g65_필중계략.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hwe/sammo/Command/UserAction/g65_필중계략.php b/hwe/sammo/Command/UserAction/g65_필중계략.php index ebaa5be8..08da5566 100644 --- a/hwe/sammo/Command/UserAction/g65_필중계략.php +++ b/hwe/sammo/Command/UserAction/g65_필중계략.php @@ -27,9 +27,13 @@ class g65_필중계략 extends Command\UserActionCommand{ $this->setCity(); $this->setNation(); + $env = $this->env; + $relYear = $env['year'] - $env['startyear']; + $this->fullConditionConstraints = [ ConstraintHelper::NotBeNeutral(), - ConstraintHelper::OccupiedCity() + ConstraintHelper::OccupiedCity(), + ConstraintHelper::NotOpeningPart($relYear), ]; }