Hi~
This is the Fleet Performance Bar that I have been using for a long time.
Now the version is higher so it is not compatible. Can you fix it?
Display All
This is the Fleet Performance Bar that I have been using for a long time.
Now the version is higher so it is not compatible. Can you fix it?
PHP Source Code
- private function Areaq($Element, $level = false)
- {
- global $CombatCaps, $pricelist, $reslist, $LNG;
- if (in_array($Element, $reslist['defense']))
- {
- $DEF = ($CombatCaps[$Element]['shield']);
- $ATT = ($CombatCaps[$Element]['attack']);
- $JAN = ($pricelist[$Element]['metal'] + $pricelist[$Element]['crystal'])/10;
- }
- if (in_array($Element, $reslist['fleet']))
- {
- $DEF = ($CombatCaps[$Element]['shield']);
- $ATT = ($CombatCaps[$Element]['attack']);
- $VEL = ($pricelist[$Element]['speed']);
- $CAP = ($pricelist[$Element]['capacity']);
- $DUE = ($pricelist[$Element]['consumption']);
- $JAN = ($pricelist[$Element]['metal'] + $pricelist[$Element]['crystal'])/10;
- }
- $bars2 .= 'attack:'.number_format($ATT).'<br>';
- $bars2 .= 'shield:'.number_format($DEF).'<br>';
- $bars2 .= 'defensive:'.number_format($JAN).'<br>';
- if (in_array($Element, $reslist['fleet']))
- {
- $bars2 .= 'speed:'.number_format($VEL).'<br>';
- $bars2 .= 'capacity:'.number_format($CAP).'<br>';
- $bars2 .= 'fuel:'.number_format($DUE).'<br>';
- }
- return $bars2;
- }
--------------------------------------------------------------------------------------