From eea5135316507bdd169c470ea273c51d7f6153a2 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 9 May 2020 15:16:27 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B4=80=EC=A7=81=20=EC=9E=84=EB=AA=85?= =?UTF-8?q?=EC=9D=84=203,6,9,12=EC=97=90=20=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/GeneralAI.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hwe/sammo/GeneralAI.php b/hwe/sammo/GeneralAI.php index 3e727880..1477c84b 100644 --- a/hwe/sammo/GeneralAI.php +++ b/hwe/sammo/GeneralAI.php @@ -3089,12 +3089,14 @@ class GeneralAI $month = $this->env['month']; if($npcType >= 2){ if($general->getVar('officer_level') == 12){ - if (in_array($month, [1, 4, 7, 10])) { + if (in_array($month, [3, 6, 9, 12])) { $this->choosePromotion(); - } else if ($month == 12) { + } + if ($month == 12) { $this->chooseTexRate(); $this->chooseGoldBillRate(); - } else if ($month == 6) { + } + if ($month == 6) { $this->chooseTexRate(); $this->chooseRiceBillRate(); }