|
@@ -15,6 +15,7 @@
|
|
|
$teams = (sizeof($unit->teams) > 0);
|
|
$teams = (sizeof($unit->teams) > 0);
|
|
|
$lock = $unit->lock;
|
|
$lock = $unit->lock;
|
|
|
$storage = $unit->in_storage;
|
|
$storage = $unit->in_storage;
|
|
|
|
|
+ $maxed = ($unit->level == 40 && $unit->are_skills_maxed());
|
|
|
}
|
|
}
|
|
|
elseif ($unit instanceof K_Unit){
|
|
elseif ($unit instanceof K_Unit){
|
|
|
$k = $unit;
|
|
$k = $unit;
|
|
@@ -23,6 +24,7 @@
|
|
|
$teams = 0;
|
|
$teams = 0;
|
|
|
$lock = false;
|
|
$lock = false;
|
|
|
$storage = false;
|
|
$storage = false;
|
|
|
|
|
+ $maxed = false;
|
|
|
}
|
|
}
|
|
|
else{
|
|
else{
|
|
|
return "";
|
|
return "";
|
|
@@ -59,6 +61,9 @@
|
|
|
$html .= "</span>\n";
|
|
$html .= "</span>\n";
|
|
|
}
|
|
}
|
|
|
$html .= "<span class='badges'>\n";
|
|
$html .= "<span class='badges'>\n";
|
|
|
|
|
+ if ($maxed){
|
|
|
|
|
+ $html .= "<img title='Maxed unit' src='" . $path["img"]["icon"] . "maxed.png'>";
|
|
|
|
|
+ }
|
|
|
if ($teams > 0){
|
|
if ($teams > 0){
|
|
|
$title = $teams . " teams";
|
|
$title = $teams . " teams";
|
|
|
if ($teams == 1){
|
|
if ($teams == 1){
|