mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix New Village must build a rally point
This commit is contained in:
@@ -469,14 +469,16 @@ if($type==18 or $type==19 or $type==20 or $type==21){
|
||||
$enough_cp = false;
|
||||
}
|
||||
|
||||
$otext = ($oasis['name']);
|
||||
if($village->unitarray['u'.$session->tribe.'0'] >= 3 AND $enough_cp) {
|
||||
$otext = ($oasis['name']);
|
||||
if($village->unitarray['u'.$session->tribe.'0'] >= 3 AND $enough_cp AND $village->resarray['f39']) {
|
||||
$test = "<a href=\"a2b.php?id=".$_GET['d']."&s=1\">» Found new village.</a>";
|
||||
} elseif($village->unitarray['u'.$session->tribe.'0'] >= 3 AND !$enough_cp) {
|
||||
} elseif($village->unitarray['u'.$session->tribe.'0'] >= 3 AND !$enough_cp) {
|
||||
$test = "» Found new village. ($cps/$need_cps culture points)";
|
||||
} else {
|
||||
} elseif(!$village->resarray['f39']) {
|
||||
$test = "» Found new village. (build a rally point)";
|
||||
} else {
|
||||
$test = "» Found new village. (".$village->unitarray['u'.$session->tribe.'0']."/3 settlers available)";
|
||||
}
|
||||
}
|
||||
|
||||
echo ($basearray['fieldtype']==0)?
|
||||
($village->resarray['f39']==0)?
|
||||
|
||||
Reference in New Issue
Block a user