mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
@@ -235,7 +235,9 @@ class Village {
|
||||
$bakery = $this->resarray['f'.$i];
|
||||
}
|
||||
}
|
||||
for($i=0;$i<=count($cropholder)-1;$i++) { $basecrop+= $bid4[$this->resarray[$cropholder[$i]]]['prod']; }
|
||||
for ( $i = 0; $i <= count( $cropholder ) - 1; $i ++ ) {
|
||||
$basecrop += $bid4[ $this->resarray[ $cropholder[ $i ] ] ]['prod'];
|
||||
}
|
||||
$crop = $basecrop + $basecrop * 0.25 * $this->ocounter[3];
|
||||
if($grainmill >= 1 || $bakery >= 1) {
|
||||
$crop += $basecrop /100 * (isset($bid8[$grainmill]['attri']) ? $bid8[$grainmill]['attri'] : 0) + (isset($bid9[$bakery]['attri']) ? $bid9[$bakery]['attri'] : 0);
|
||||
|
||||
Reference in New Issue
Block a user