mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-19 17:51:02 +00:00
remove some rows from the horse drinking trought fix
This commit is contained in:
@@ -392,7 +392,6 @@ class Technology {
|
|||||||
$horsedrinking = $j;
|
$horsedrinking = $j;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($i>=4 && $i<=6 && $dataarray['drinking'] <= $buildarray['f'.$horsedrinking]) {
|
|
||||||
if(isset($horsedrinking)){
|
if(isset($horsedrinking)){
|
||||||
if(($i==4 && $buildarray['f'.$horsedrinking] >= 10)
|
if(($i==4 && $buildarray['f'.$horsedrinking] >= 10)
|
||||||
|| ($i==5 && $buildarray['f'.$horsedrinking] >= 15)
|
|| ($i==5 && $buildarray['f'.$horsedrinking] >= 15)
|
||||||
@@ -403,9 +402,6 @@ class Technology {
|
|||||||
}}else{
|
}}else{
|
||||||
$upkeep += $dataarray['pop'] * $array[$unit];
|
$upkeep += $dataarray['pop'] * $array[$unit];
|
||||||
}
|
}
|
||||||
}else{
|
|
||||||
$upkeep += $dataarray['pop'] * $array[$unit];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// $unit = "hero";
|
// $unit = "hero";
|
||||||
// global $$unit;
|
// global $$unit;
|
||||||
|
|||||||
Reference in New Issue
Block a user