Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem mit der Schmiede
#5
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("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("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(""); ?>

recht so??
<?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("4");

$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("4");

$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("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("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
Problem mit der Schmiede - by hallosager - 31.10.2009, 22:14
RE: Problem mit der Schmiede - by Black Arrow - 31.10.2009, 22:17
RE: Problem mit der Schmiede - by hallosager - 31.10.2009, 22:19
RE: Problem mit der Schmiede - by Yannici - 31.10.2009, 22:23
RE: Problem mit der Schmiede - by hallosager - 31.10.2009, 22:26
RE: Problem mit der Schmiede - by Crysler - 01.11.2009, 20:31
RE: Problem mit der Schmiede - by hallosager - 01.11.2009, 20:57
RE: Problem mit der Schmiede - by Crysler - 01.11.2009, 21:00
RE: Problem mit der Schmiede - by hallosager - 01.11.2009, 21:41



Users browsing this thread: 3 Guest(s)