isCurrent($id) || $building->isLoop($id))?1:0; $doublebuild = ($building->isCurrent($id) && $building->isLoop($id))?1:0; ?>

Tournament Square Level resarray['f'.$id]; ?>

At the Tournament Square your troops can train their stamina. The further the building is upgraded the faster your troops are beyond a minimum distance of squares.

isMax($village->resarray['f'.$id.'t'],$id)) { $next = $village->resarray['f'.$id]+1+$loopsame+$doublebuild; if($next<=20){ ?>
Current speed bonus: resarray['f'.$id]]['attri']; ?> Percent
Speed bonus at level : Percent Speed bonus at level 20: Percent