mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-24 13:36:32 +00:00
return buildings to T3 buildings and fix scout in oasis with bats (as I know bats are not spys...)
This commit is contained in:
@@ -615,7 +615,7 @@ private function loyaltyRegeneration() {
|
||||
$catapult = array(8,18,28,38,48);
|
||||
$ram = array(7,17,27,37,47);
|
||||
$chief = array(9,19,29,39,49);
|
||||
$spys = array(4,14,23,34,44);
|
||||
$spys = array(4,14,23,44);
|
||||
for($i=$start;$i<=$end;$i++) {
|
||||
$y = $i-$u;
|
||||
$Attacker['u'.$i] = $dataarray[0]['t'.$y];
|
||||
@@ -806,7 +806,7 @@ private function loyaltyRegeneration() {
|
||||
$catapult = array(8,18,28,38,48);
|
||||
$ram = array(7,17,27,37,47);
|
||||
$chief = array(9,19,29,39,49);
|
||||
$spys = array(4,14,23,34,44);
|
||||
$spys = array(4,14,23,44);
|
||||
for($i=$start;$i<=$end;$i++) {
|
||||
$y = $i-$u;
|
||||
$Attacker['u'.$i] = $dataarray[0]['t'.$y];
|
||||
|
||||
@@ -142,7 +142,7 @@ class Battle {
|
||||
|
||||
$scout = 1;
|
||||
for($i=$start;$i<=($start+9);$i++) {
|
||||
if($i == 4 || $i == 14 || $i == 23 || $i == 34 || $i == 44)
|
||||
if($i == 4 || $i == 14 || $i == 23 || $i == 44)
|
||||
{}
|
||||
else{
|
||||
if($attacker['u'.$i]>0) {
|
||||
@@ -275,7 +275,7 @@ class Battle {
|
||||
if($type == 1)
|
||||
{
|
||||
for($y=4;$y<=44;$y++) {
|
||||
if($y == 4 || $y == 14 || $y == 23 || $y == 34 || $y == 44)
|
||||
if($y == 4 || $y == 14 || $y == 23 || $y == 44)
|
||||
{
|
||||
global ${'u'.$y};
|
||||
if($y >= $start && $y <= ($end-2) && $def_ab['b'.$abcount] > 0) {
|
||||
|
||||
Reference in New Issue
Block a user