From 33e075f669eccffa002a7e075e34d88321f80263 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sat, 21 Sep 2019 21:29:20 +0900 Subject: [PATCH] =?UTF-8?q?=ED=9B=88=EC=82=AC=EB=A5=BC=20=EB=B6=84?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/func_npc.php | 3 +++ hwe/j_server_basic_info.php | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/hwe/func_npc.php b/hwe/func_npc.php index f8911098..52874dec 100644 --- a/hwe/func_npc.php +++ b/hwe/func_npc.php @@ -56,8 +56,11 @@ class AIAllowedAction{ case 'recruit': $this->recruit = true; $this->changeWarCondition = true; + break; + case 'train': $this->train = true; $this->atmos = true; + $this->changeWarCondition = true; break; case 'battle': $this->battle = true; diff --git a/hwe/j_server_basic_info.php b/hwe/j_server_basic_info.php index ce39ee90..a3fc9c9d 100644 --- a/hwe/j_server_basic_info.php +++ b/hwe/j_server_basic_info.php @@ -47,8 +47,9 @@ if(file_exists(__dir__.'/.htaccess')){ switch($auto_option){ case 'develop': $auto_info['내정'] = '내정'; break; case 'warp': $auto_info['순간이동'] = '순간이동'; break; - case 'recruit': $auto_info['징훈사'] = $auto_info['징훈사']??'징훈사'; break; - case 'recruit_high': $auto_info['징훈사'] = '모훈사'; break; + case 'recruit': $auto_info['징병'] = $auto_info['징병']??'징병'; break; + case 'recruit_high': $auto_info['징병'] = '모병'; break; + case 'train': $auto_info['훈사'] = '훈련/사기진작'; break; case 'battle': $auto_info['출병'] = '출병'; break; } } @@ -125,8 +126,9 @@ if($admin['autorun_user']['limit_minutes']??false){ switch($auto_option){ case 'develop': $auto_info['내정'] = '내정'; break; case 'warp': $auto_info['순간이동'] = '순간이동'; break; - case 'recruit': $auto_info['징훈사'] = $auto_info['징훈사']??'징훈사'; break; - case 'recruit_high': $auto_info['징훈사'] = '모훈사'; break; + case 'recruit': $auto_info['징병'] = $auto_info['징병']??'징병'; break; + case 'recruit_high': $auto_info['징병'] = '모병'; break; + case 'train': $auto_info['훈사'] = '훈련/사기진작'; break; case 'battle': $auto_info['출병'] = '출병'; break; } }