mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-15 15:51:01 +00:00
Natars start construct ww
natats start construct their ww
This commit is contained in:
@@ -275,7 +275,15 @@ define("NATARS_UNITS",%NATARS_UNITS%);
|
||||
// ***** Natars Spawn Time
|
||||
define("NATARS_SPAWN_TIME",%NATARS_SPAWN_TIME%);
|
||||
define("NATARS_WW_SPAWN_TIME",%NATARS_WW_SPAWN_TIME%);
|
||||
define("NATARS_WW_BUILDING_PLAN_SPAWN_TIME",%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%);
|
||||
define("NATARS_WW_BUILDING_PLAN_SPAWN_TIME",%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%);
|
||||
|
||||
// ***** Natars' World Wonder
|
||||
// Dupa cate ZILE de la aparitia planurilor de constructie incep Natarii sa-si
|
||||
// ridice propria Minune a Lumii. In Travian, cand ajung la nivelul 100 se
|
||||
// incheie serverul; la nivelul 75 isi recheama toate trupele ca s-o apere.
|
||||
//
|
||||
// 0 = Natarii nu construiesc deloc.
|
||||
define("NATARS_WW_START_DELAY", %NATARS_WW_START_DELAY%);
|
||||
|
||||
// ***** Nature troops regeneration time
|
||||
define("NATURE_REGTIME",%NATURE_REGTIME%);
|
||||
|
||||
@@ -241,6 +241,11 @@ class Process {
|
||||
$findReplace["%NATARS_SPAWN_TIME%"] = $_POST['natars_spawn_time'];
|
||||
$findReplace["%NATARS_WW_SPAWN_TIME%"] = $_POST['natars_ww_spawn_time'];
|
||||
$findReplace["%NATARS_WW_BUILDING_PLAN_SPAWN_TIME%"] = $_POST['natars_ww_building_plan_spawn_time'];
|
||||
|
||||
// Dupa cate zile de la aparitia planurilor incep Natarii Minunea lor.
|
||||
$natarsWwDelay = isset($_POST['natars_ww_start_delay']) ? (int) $_POST['natars_ww_start_delay'] : 10;
|
||||
if ($natarsWwDelay < 0 || $natarsWwDelay > 3650) { $natarsWwDelay = 10; }
|
||||
$findReplace["%NATARS_WW_START_DELAY%"] = $natarsWwDelay;
|
||||
$findReplace["%NATURE_REGTIME%"] = $_POST['nature_regtime'];
|
||||
$findReplace["%OASIS_WOOD_MULTIPLIER%"] = $_POST['oasis_wood_multiplier'];
|
||||
$findReplace["%OASIS_CLAY_MULTIPLIER%"] = $_POST['oasis_clay_multiplier'];
|
||||
|
||||
@@ -141,6 +141,7 @@ $dbPrefix = $_SESSION['install_random_prefix'];
|
||||
<div><label>Natars Spawn (days)</label><input class="input" name="natars_spawn_time" id="natars_spawn_time" value="260"></div>
|
||||
<div><label>WW Spawn (days)</label><input class="input" name="natars_ww_spawn_time" id="natars_ww_spawn_time" value="260"></div>
|
||||
<div><label>WW BP Spawn (days)</label><input class="input" name="natars_ww_building_plan_spawn_time" id="natars_ww_building_plan_spawn_time" value="260"></div>
|
||||
<div><label>WW BP Spawn (days)</label><input class="input" name="natars_ww_start_delay" id="natars_ww_start_delay" value="10"></div>
|
||||
<div><label>Nature regen</label><select class="input" name="nature_regtime"><option value="28800">8 hours</option><option value="36000">10 hours</option><option value="43200" selected>12 hours</option><option value="57600">16 hours</option><option value="72000">20 hours</option><option value="86400">24 hours</option></select></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user