From 8394c9780cc6d87be1507014eee824c10903a3d7 Mon Sep 17 00:00:00 2001 From: hide_d Date: Tue, 28 Jan 2020 02:59:06 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EA=B8=B0?= =?UTF-8?q?=EC=88=98=EC=9A=A9=20=EB=A7=B5=20=EC=B6=94=EA=B0=80,=20?= =?UTF-8?q?=EC=A6=9D=EC=B6=95=20=EB=B9=84=EC=9A=A9=20=EC=83=81=EC=88=98?= =?UTF-8?q?=EA=B0=92=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- f_install/templates/common.orig.css | 26 +++++++++ hwe/func.php | 2 +- hwe/func_process_chief.php | 4 +- hwe/sammo/GameConstBase.php | 4 ++ hwe/scenario/map/miniche_clean.php | 87 +++++++++++++++++++++++++++++ hwe/scenario/scenario_901.json | 13 +++++ 6 files changed, 133 insertions(+), 3 deletions(-) create mode 100644 hwe/scenario/map/miniche_clean.php create mode 100644 hwe/scenario/scenario_901.json diff --git a/f_install/templates/common.orig.css b/f_install/templates/common.orig.css index 73e7647b..506e4a6a 100644 --- a/f_install/templates/common.orig.css +++ b/f_install/templates/common.orig.css @@ -115,6 +115,32 @@ background-size: 700px 500px; } +/*미니체 지도*/ +.map_theme_miniche_clean.map_spring .map_bglayer1{ + background: url('_tK_gameImagePath_/map/che/bg_spring.jpg') no-repeat; + background-size: 700px 500px; +} + +.map_theme_miniche_clean.map_summer .map_bglayer1{ + background: url('_tK_gameImagePath_/map/che/bg_summer.jpg') no-repeat; + background-size: 700px 500px; +} + +.map_theme_miniche_clean.map_fall .map_bglayer1{ + background: url('_tK_gameImagePath_/map/che/bg_fall.jpg') no-repeat; + background-size: 700px 500px; +} + +.map_theme_miniche_clean.map_winter .map_bglayer1{ + background: url('_tK_gameImagePath_/map/che/bg_winter.jpg') no-repeat; + background-size: 700px 500px; +} + +.map_theme_miniche_clean .map_bgroad{ + background: url('_tK_gameImagePath_/map/che/miniche_road.png') no-repeat; + background-size: 700px 500px; +} + /*루드라사움 지도*/ .map_theme_ludo_rathowm .map_bglayer1{ background: url('_tK_gameImagePath_/map/ludo_rathowm/back.jpg') no-repeat; diff --git a/hwe/func.php b/hwe/func.php index 14345068..77d81ad2 100644 --- a/hwe/func.php +++ b/hwe/func.php @@ -800,7 +800,7 @@ function CoreCommandTable() { commandGroup("====== 특 수 ======"); addCommand("초토화", 65, $valid); addCommand("천도/3턴(금쌀{$develcost}0)", 66, $valid); - $cost = $develcost * 500 + 60000; // 7만~13만 + $cost = $develcost * GameConst::$expandCityCostCoef + GameConst::$expandCityDefaultCost; // 7만~13만 addCommand("증축/6턴(금쌀{$cost})", 67, $valid); addCommand("감축/6턴", 68, $valid); commandGroup("", 1); diff --git a/hwe/func_process_chief.php b/hwe/func_process_chief.php index 95e52b79..599cb7c0 100644 --- a/hwe/func_process_chief.php +++ b/hwe/func_process_chief.php @@ -1078,7 +1078,7 @@ function process_67(&$general) { $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $destcity = MYDB_fetch_array($result); - $amount = $admin['develcost'] * 500 + 60000; // 7만~13만 + $amount = $admin['develcost'] * GameConst::$expandCityCostCoef + GameConst::$expandCityDefaultCost; // 7만~13만 $code = $nation["l{$general['level']}term"]; if($code%100 == 67) { @@ -1180,7 +1180,7 @@ function process_68(&$general) { $result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),""); $destcity = MYDB_fetch_array($result); - $amount = $admin['develcost'] * 500 + 30000; // 4만~10만 + $amount = $admin['develcost'] * GameConst::$expandCityCostCoef + GameConst::$expandCityDefaultCost / 2; // 4만~10만 $code = $nation["l{$general['level']}term"]; if($code%100 == 68) { diff --git a/hwe/sammo/GameConstBase.php b/hwe/sammo/GameConstBase.php index 692e98dd..590bd212 100644 --- a/hwe/sammo/GameConstBase.php +++ b/hwe/sammo/GameConstBase.php @@ -82,6 +82,10 @@ class GameConstBase public static $expandCityDevelIncreaseAmount = 2000; /** @var int 증축시 성벽 증가량 */ public static $expandCityWallIncreaseAmount = 2000; + /** @var int 증축시 최소 비용 */ + public static $expandCityDefaultCost = 60000; + /** @var int 증축시 비용 계수 */ + public static $expandCityCostCoef = 500; /** @var int 초기 제한시 장수 제한 */ public static $initialNationGenLimitForRandInit = 3; diff --git a/hwe/scenario/map/miniche_clean.php b/hwe/scenario/map/miniche_clean.php new file mode 100644 index 00000000..7598a94a --- /dev/null +++ b/hwe/scenario/map/miniche_clean.php @@ -0,0 +1,87 @@ +