From 30ac7da4d74f220fbb83933f6ff9fd4154bd88c3 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 4 Jun 2023 20:22:45 +0900 Subject: [PATCH] =?UTF-8?q?misc:=20=EC=9D=B4=EB=AF=BC=EC=A1=B1=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=EC=8B=9C,=20=EC=A0=84=EC=9F=81=20=EA=B8=88?= =?UTF-8?q?=EC=A7=80=20=EB=B0=8F=20=EC=9E=84=EA=B4=80=20=EA=B8=88=EC=A7=80?= =?UTF-8?q?=20=ED=95=B4=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Event/Action/RaiseInvader.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hwe/sammo/Event/Action/RaiseInvader.php b/hwe/sammo/Event/Action/RaiseInvader.php index 3c85b97c..3e151dd0 100644 --- a/hwe/sammo/Event/Action/RaiseInvader.php +++ b/hwe/sammo/Event/Action/RaiseInvader.php @@ -143,6 +143,11 @@ class RaiseInvader extends \sammo\Event\Action $month, ))); + $db->update('nation', [ + 'war' => 0, + 'scout' => 0, + ], '1'); + $disabledInvaderCity = $this->moveCapital($rng); $serverID = UniqueConst::$serverID; $existNations = $db->queryFirstColumn("SELECT nation FROM `nation`");