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;