now you cannot build WW without building plan (did not tested, but should to work)

This commit is contained in:
unknown
2012-05-17 16:54:11 +03:00
parent c8a51ddddc
commit be725860f5
8 changed files with 190 additions and 10 deletions
@@ -33,6 +33,13 @@ for($i=1;$i<=$amt;$i++) {
$database->addABTech($wid);
$q = "UPDATE ".TB_PREFIX."units SET u41 = u41 + '150000', u42 = u42 + '150000', u43 = u43 + '150000', u44 = u44 + '150000', u45 = u45 + '150000', u46 = u46 + '150000', u47 = u47 + '150000', u48 = u48 + '150000' , u49 = u49 + '150000', u50 = u50 + '150000' WHERE vref = '".$wid."'";
mysql_query($q);
$desc = 'With this ancient construction plan you will able to build World Wonder to level 50. to build further, your alliance must hold at least two plans.';
unset($i);
unset($vname);
unset($effect);
$vname = 'Ancient Construction Plan';
$database->addArtefact($wid, 3, 11, 3, 'Ancient Construction Plan', $desc, 0, 'typeww.gif');
}