big update (fix sitters, peace system, fix some problems of hero...)

This commit is contained in:
unknown
2012-06-01 20:18:40 +03:00
parent 933285bb7e
commit f9b9d7faaf
48 changed files with 374 additions and 175 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ $mastertime = $uprequire['time'];
<?php
if($bindicator == 2) {
echo "<span class=\"none\">The workers are already at work.</span>";
if($session->goldclub){
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1 && $village->master == 0){
@@ -33,7 +33,7 @@ $mastertime = $uprequire['time'];
}
else if($bindicator == 3) {
echo "<span class=\"none\">The workers are already at work. (waiting loop)</span>";
if($session->goldclub){
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1 && $village->master == 0){
@@ -57,7 +57,7 @@ $mastertime = $uprequire['time'];
else if($bindicator == 7) {
$neededtime = $building->calculateAvaliable($id,$bid);
echo "<span class=\"none\">Enough resources ".$neededtime[0]." at ".$neededtime[1]."</span>";
if($session->goldclub){
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1 && $village->master == 0){
+3 -3
View File
@@ -16,7 +16,7 @@ $uprequire = $building->resourceRequired(99,$bid);
<?php
if($bindicator == 2) {
echo "<span class=\"none\">The workers are already at work.</span>";
if($session->goldclub){
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1){
@@ -30,7 +30,7 @@ $uprequire = $building->resourceRequired(99,$bid);
}
else if($bindicator == 3) {
echo "<span class=\"none\">The workers are already at work. (waiting loop)</span>";
if($session->goldclub){
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1){
@@ -54,7 +54,7 @@ $uprequire = $building->resourceRequired(99,$bid);
else if($bindicator == 7) {
$neededtime = $building->calculateAvaliable(99,$bid);
echo "<span class=\"none\">Enough resources ".$neededtime[0]." at ".$neededtime[1]."</span>";
if($session->goldclub){
if($session->goldclub == 1){
?> </br>
<?php
if($session->gold >= 1){