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 @@ +