Open BeReal86 opened 4 years ago
*Halves losses to defence systems This is before with the old battle engine with the new jstar engine that does not exist
Dejo esto por acá para que no tengan problemas con el CP me atreví de cambiar el comandante por la estrella.
El max Expedition
fleet1.php
'max_expeditions' => FleetsLib::getMaxExpeditions( $this->_research->getCurrentResearch()->getResearchAstrophysics(), $this->_premium->getCurrentPremium()->getPremiumOfficierAdmiral() ),
fleetLib.php
public static function getMaxExpeditions($astrophysics_tech, $amiral_level) { return floor(sqrt($astrophysics_tech) + (1 * (OfficiersLib::isOfficierActive($amiral_level) ? AMIRAL_EXPEDITION : 0))); }
fleet1_view.php
<tr>
<td style="background-color: transparent;">
{fl_fleets} {fleets}/{max_fleets}
{amiral_bonuses}
{fl_expeditions} {expeditions}/{max_expeditions}
</td>
<td style="background-color: transparent;text-align: right!important;">
<a href="game.php?page=movement">{fl_fleets_movements}</a>
</td>
</tr>
nuevo archivo fleet1_amiral_row.php
`
Fleet1.php
private function buildNoAmiralBlock($amiral)
{
if ($amiral) {
return $this->template->set('fleet/fleet1_amiral_row', array_merge($this->langs->language, ['dpath' => DPATH]));
}
}
Lang / Spanish
'fl_amiral_bonuses' => '+ 2 Espacios disponibles debido a Almirante',
Lang / English
'fl_amiral_bonuses' => '+ 2 Fleet slots because of Admiral',
Constants.php
define('AMIRAL_EXPEDITION', 1);
Creo q no me olvide nada
Con Almirante
Sin Almirante
Fix movimiento de flotas
movement.php
'max_expeditions' => FleetsLib::getMaxExpeditions(
$this->research->getCurrentResearch()->getResearchAstrophysics(),
$this->premium->getCurrentPremium()->getPremiumOfficierAdmiral()
)
@FGServers tenes que aprender a hacer PRs…. Esto de copiar/pegar es muy aburrido… cual es el propósito además de los pop ups?
ual es el propósito además de los pop
use overlib por que no tiene implementado un tooltip. es como esta en ogame como para hacerlo lo mas parecido al rediseño con el antiguo diseño jajaja ya voy aprender hacer PR
https://github.com/XGProyect/XG-Proyect-v3.x.x/issues/532
Update; Officers no longer need to be active for the MAX button.
Update Officers El equipo comando es un bonus extra que suma cuando tenes activos todos los oficiales. que es lo que hace cuando vos tenes todos los oficiales activos te agrega 4 bonus más extras.
Bonus:
Cantidad de flotas máx. +1 +2 % de producción de energía +2 % de producción de mineral +1 al nivel de espionaje +5 días de vacaciones
Dejo la imagen modificaa por que la original es de ogame, cuando lo activas
Le suma a los oficiales los dias que contratas el bonus extra
One is the image I got from ogame.us the other ogame test universe. Bonuses are 4 and have been updated.
Commander
Admiral
Engineer
Geologist
Technocrat
When all recruitment officers are active, the following bonus officer is active.
Commanding Staff