mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 02:24:21 +00:00
fix tournament square
This commit is contained in:
@@ -65,8 +65,8 @@ class Generator {
|
||||
}
|
||||
else {
|
||||
$speed = $ref;
|
||||
if($building->getTypeLevel(14) != 0) {
|
||||
$speed = $distance <= TS_THRESHOLD ? $speed : $speed * ( ( TS_THRESHOLD + ( $distance - TS_THRESHOLD ) * $bid14[$building->gettypeLevel(14)]['attri'] / 100 ) / $distance ) ;
|
||||
if($building->getTypeLevel(14) != 0 && $distance >= TS_THRESHOLD) {
|
||||
$speed = $speed * ($bid14[$building->gettypeLevel(14)]['attri']/100) ;
|
||||
}
|
||||
}
|
||||
if($speed!=0){
|
||||
|
||||
Reference in New Issue
Block a user