Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Schmiede
#4
Muss so aussehen:

PHP Code:
<?php
$cl_techs 
= new techs();

//////////// Zeitfaktor zum forschen in der Schmiede ////////////

$cl_techs->set_smithfactor("0.997","0.9096");

///////////////////// Alle Technologien /////////////////////

$cl_techs->add_tech("Speer","spear");
$cl_techs->set_group("Infanterie");
$cl_techs->set_woodprice("256","1.6");
$cl_techs->set_stoneprice("244","1.6");
$cl_techs->set_ironprice("296","1.6");
$cl_techs->set_time("2900","1.75");
$cl_techs->set_maxStage("3");
$cl_techs->set_needed(array());
$cl_techs->set_attType(array('def','off','spy'));
$cl_techs->set_description("");

$cl_techs->add_tech("Schwert","sword");
$cl_techs->set_group("Infanterie");
$cl_techs->set_woodprice("360","1.6");
$cl_techs->set_stoneprice("320","1.6");
$cl_techs->set_ironprice("312","1.6");
$cl_techs->set_time("3085","1.75");
$cl_techs->set_maxStage("3");
$cl_techs->set_needed(array("smith"=>"1"));
$cl_techs->set_attType(array('def','off','spy'));
$cl_techs->set_description("");

$cl_techs->add_tech("Axt","axe");
$cl_techs->set_group("Infanterie");
$cl_techs->set_woodprice("280","1.6");
$cl_techs->set_stoneprice("336","1.6");
$cl_techs->set_ironprice("228","1.6");
$cl_techs->set_time("3085","1.75");
$cl_techs->set_maxStage("3");
$cl_techs->set_needed(array("smith"=>"2"));
$cl_techs->set_attType(array('off'));
$cl_techs->set_description("");

$cl_techs->add_tech("Bogen","archer");
$cl_techs->set_group("Infanterie");
$cl_techs->set_woodprice("640","1.6");
$cl_techs->set_stoneprice("560","1.6");
$cl_techs->set_ironprice("740","1.6");
$cl_techs->set_time("3085","1.75");
$cl_techs->set_maxStage("1");
$cl_techs->set_needed(array("main"=>"1","barracks"=>"5","smith"=>"5" ));
$cl_techs->set_description("");

$cl_techs->add_tech("Leichte Kavallerie","light");
$cl_techs->set_group("Kavallerie");
$cl_techs->set_woodprice("440","1.6");
$cl_techs->set_stoneprice("496","1.6");
$cl_techs->set_ironprice("416","1.6");
$cl_techs->set_time("5040","1.75");
$cl_techs->set_maxStage("3");
$cl_techs->set_needed(array("stable"=>"3"));
$cl_techs->set_attType(array('off'));
$cl_techs->set_description("");

$cl_techs->add_tech("Berittener Bogenschütze ","marcher");
$cl_techs->set_group("Kavallerie");
$cl_techs->set_woodprice("3000","1.6");
$cl_techs->set_stoneprice("2400","1.6");
$cl_techs->set_ironprice("2000","1.6");
$cl_techs->set_time("3085","1.75");
$cl_techs->set_maxStage("1");
$cl_techs->set_needed(array("main"=>"1","stable"=>"5" ));
$cl_techs->set_description("");

$cl_techs->add_tech("Schwere Kavallerie","heavy");
$cl_techs->set_group("Kavallerie");
$cl_techs->set_woodprice("600","1.6");
$cl_techs->set_stoneprice("496","1.6");
$cl_techs->set_ironprice("416","1.6");
$cl_techs->set_time("5040","1.75");
$cl_techs->set_maxStage("3");
$cl_techs->set_needed(array("stable"=>"10","smith"=>"15"));
$cl_techs->set_attType(array('def','off','spy'));
$cl_techs->set_description("");

$cl_techs->add_tech("Ramme","ram");
$cl_techs->set_group("Belagerungswaffen");
$cl_techs->set_woodprice("560","1.6");
$cl_techs->set_stoneprice("800","1.6");
$cl_techs->set_ironprice("192","1.6");
$cl_techs->set_time("4480","1.75");
$cl_techs->set_maxStage("3");
$cl_techs->set_needed(array("garage"=>"1"));
$cl_techs->set_attType(array('off'));
$cl_techs->set_description("");

$cl_techs->add_tech("Katapult","catapult");
$cl_techs->set_group("Belagerungswaffen");
$cl_techs->set_woodprice("640","1.6");
$cl_techs->set_stoneprice("960","1.6");
$cl_techs->set_ironprice("560","1.6");
$cl_techs->set_time("5600","1.75");
$cl_techs->set_maxStage("3");
$cl_techs->set_needed(array("garage"=>"2","smith"=>"12"));
$cl_techs->set_attType(array('def','off'));
$cl_techs->set_description("");

?>
Reply


Messages In This Thread
Schmiede - by Bot - 29.07.2011, 10:09
RE: Schmiede - by Molt - 29.07.2011, 10:17
RE: Schmiede - by Bot - 29.07.2011, 11:54
RE: Schmiede - by Molt - 29.07.2011, 12:04
RE: Schmiede - by Bot - 29.07.2011, 15:53
RE: Schmiede - by Jonsn - 29.07.2011, 17:09
RE: Schmiede - by Molt - 29.07.2011, 18:10
RE: Schmiede - by Bot - 30.07.2011, 13:06



Users browsing this thread: 2 Guest(s)