From f858c32fdf15252a1810a8c3a36708e0888193cb Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 25 Jun 2025 13:58:29 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=A0=90=EB=A0=B9=20=ED=9B=84=20?= =?UTF-8?q?=EC=9D=BC=EB=B0=98=20=EB=8F=84=EC=8B=9C=20=EC=84=B1=EB=B2=BD=20?= =?UTF-8?q?=EC=88=98=EC=B9=98=20=EC=A1=B0=EC=A0=95=20=EA=B0=80=EB=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/process_war.php | 4 ++-- hwe/sammo/GameConstBase.php | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hwe/process_war.php b/hwe/process_war.php index 24791e87..1c8f7f01 100644 --- a/hwe/process_war.php +++ b/hwe/process_war.php @@ -785,8 +785,8 @@ function ConquerCity(array $admin, General $general, array $city, array $defende 'officer_set' => 0, ]; if ($city['level'] > 3) { - $query['def'] = 1000; - $query['wall'] = 1000; + $query['def'] = GameConst::$defaultCityWall; + $query['wall'] = GameConst::$defaultCityWall; } else { $query['def'] = $db->sqleval('def_max/2'); $query['wall'] = $db->sqleval('wall_max/2'); diff --git a/hwe/sammo/GameConstBase.php b/hwe/sammo/GameConstBase.php index 9f06d2b1..42b11afa 100644 --- a/hwe/sammo/GameConstBase.php +++ b/hwe/sammo/GameConstBase.php @@ -114,6 +114,9 @@ class GameConstBase /** @var int 징병 허용 최소 인구 */ public static $minAvailableRecruitPop = 30000; + /** @var int 점령 후 일반 도시 성벽 */ + public static $defaultCityWall = 1000; + /** @var int 초기 제한시 장수 제한 */ public static $initialNationGenLimit = 10;