В файле PlanetResourceUpdate.php найти
Заменить на
В файле ShowResourcesPage.php
Найти
Заменить на:
Код:
if ($ProdID < 4)
{
$Caps['energy_used'] += floor( eval ( $ProdGrid[$ProdID]['formule']['energy'] ) * ( $game_config['resource_multiplier'] ) );
}
elseif ($ProdID >= 4 )
{
$Caps['energy_max'] += floor( eval ( $ProdGrid[$ProdID]['formule']['energy'] ) * ( $game_config['resource_multiplier'] ) * ( 1 + ( $CurrentUser['rpg_ingenieur'] * INGENIEUR ) ) );
}
Код:
if ($ProdID < 4)
{
$Caps['energy_used'] += floor( eval ( $ProdGrid[$ProdID]['formule']['energy'] ) * ( $game_config['resource_multiplier'] ) );
}
elseif ($ProdID >= 4 )
{
if ($CurrentPlanet['deuterium'] <= 0 && $ProdID == 12)
{
$Caps['energy_max'] += 0;
} else {
$Caps['energy_max'] += floor( eval ( $ProdGrid[$ProdID]['formule']['energy'] ) * ( $game_config['resource_multiplier'] ) * ( 1 + ( $CurrentUser['rpg_ingenieur'] * INGENIEUR ) )* ( 1 + ( $CurrentUser['energy_tech'] * 0.1 ) ) );
}
}
Найти
Код:
if( $ProdID >= 4 )
{
$energy = floor( eval ( $ProdGrid[$ProdID]['formule']['energy'] ) * ( $game_config['resource_multiplier'] ) * ( 1 + ( $CurrentUser['rpg_ingenieur'] * INGENIEUR ) ) );
Заменить на:
Код:
if( $ProdID >= 4 )
{
$energy = floor( eval ( $ProdGrid[$ProdID]['formule']['energy'] ) * ( $game_config['resource_multiplier'] ) * ( 1 + ( $CurrentUser['rpg_ingenieur'] * INGENIEUR ) ) * ( 1 + ( $CurrentUser['energy_tech'] * 0.1 ) ) );