21.02.2009, 12:08
Kann es ein, dass
Quote:$cl_units->add_unit("Bogenschützen","unit_archer");Dieses gemeint ist?
$cl_units->set_woodprice("100");
$cl_units->set_stoneprice("50");
$cl_units->set_ironprice("30 ");
$cl_units->set_bhprice("1");
$cl_units->set_time("1250");
$cl_units->set_att("15","1.045");
$cl_units->set_def("50","1.045");
$cl_units->set_defcav("40","1.045");
$cl_units->set_defarcher("5","1.045");
$cl_units->set_speed("720");
$cl_units->set_booty("10");
$cl_units->set_needed(array("main"=>"5","barracks"=>"5","smith"=>"5" ));
$cl_units->set_recruit_in("barracks");
$cl_units->set_specials(array(""));
$cl_units->set_group("foot");
$cl_units->set_col("A");
$cl_units->set_description("Der Bogenschütze ist ein effektiver Verteidiger. Selbst gepanzerte Rüstungen werden im Pfeilhagel durchschlagen.");
$cl_units->add_unit("Berittene Bogenschützen","unit_marcher");
$cl_units->set_woodprice("250");
$cl_units->set_stoneprice("100");
$cl_units->set_ironprice("150 ");
$cl_units->set_bhprice("5");
$cl_units->set_time("1500");
$cl_units->set_att("120","1.045");
$cl_units->set_def("40","1.045");
$cl_units->set_defcav("30","1.045");
$cl_units->set_defarcher("50","1.045");
$cl_units->set_speed("600");
$cl_units->set_booty("50");
$cl_units->set_needed(array("main"=>"10","barracks"=>"5","stable"=>"5","smith"=>"5" ));
$cl_units->set_recruit_in("barracks");
$cl_units->set_specials(array(""));
$cl_units->set_group("cav");
$cl_units->set_col("A");
$cl_units->set_description("Der berittene Bogenschütze ist besonders geeignet um mit präzisen Schüssen feindliche Bogenschützen von der Mauer zu holen.");
$cl_units->add_unit("Berittene Bogenschützen","unit_marcher");
$cl_units->set_woodprice("250");
$cl_units->set_stoneprice("100");
$cl_units->set_ironprice("150 ");
$cl_units->set_bhprice("5");
$cl_units->set_time("1250");
$cl_units->set_att("120","1.045");
$cl_units->set_def("40","1.045");
$cl_units->set_defcav("30","1.045");
$cl_units->set_defarcher("50","1.045");
$cl_units->set_speed("600");
$cl_units->set_booty("50");
$cl_units->set_needed(array("main"=>"10","barracks"=>"5","stable"=>"5","smith"=>"5" ));
$cl_units->set_recruit_in("stable");
$cl_units->set_specials(array(""));
$cl_units->set_group("cav");
$cl_units->set_col("B");
$cl_units->set_description("");
$cl_units->add_unit("Berittene Bogenschützen","unit_marcher");
$cl_units->set_woodprice("250");
$cl_units->set_stoneprice("100");
$cl_units->set_ironprice("150 ");
$cl_units->set_bhprice("5");
$cl_units->set_time("1250");
$cl_units->set_att("120","1.045");
$cl_units->set_def("40","1.045");
$cl_units->set_defcav("30","1.045");
$cl_units->set_defarcher("50","1.045");
$cl_units->set_speed("600");
$cl_units->set_booty("50");
$cl_units->set_needed(array("main"=>"10","barracks"=>"5","stable"=>"5","smith"=>"5" ));
$cl_units->set_recruit_in("stable");
$cl_units->set_specials(array(""));
$cl_units->set_group("cav");
$cl_units->set_col("B");
$cl_units->set_description("");
$cl_units->add_unit("Berittene Bogenschützen","unit_marcher");
$cl_units->set_woodprice("250");
$cl_units->set_stoneprice("100");
$cl_units->set_ironprice("150 ");
$cl_units->set_bhprice("5");
$cl_units->set_time("1250");
$cl_units->set_att("120","1.045");
$cl_units->set_def("40","1.045");
$cl_units->set_defcav("30","1.045");
$cl_units->set_defarcher("50","1.045");
$cl_units->set_speed("600");
$cl_units->set_booty("50");
$cl_units->set_needed(array("main"=>"10","barracks"=>"5","stable"=>"5","smith"=>"5" ));
$cl_units->set_recruit_in("stable");
$cl_units->set_specials(array(""));
$cl_units->set_group("cav");
$cl_units->set_col("B");
$cl_units->set_description("");
?>