forked from halo-battle/game
AJout des bouclier/attaque/armature des vaisseaux et fix de l'affichage de l'arbre techno
This commit is contained in:
parent
2269a56ce5
commit
b0e5c7dea5
3 changed files with 389 additions and 38 deletions
|
|
@ -110,12 +110,12 @@ if (isset($_GET['t']) && is_numeric($_GET['t']) && !empty($LANG[$race]["technolo
|
|||
$template->assign('type', 'vaisseaux');
|
||||
$t = intval(gpc('v'));
|
||||
$template->assign('id', $t);
|
||||
$template->assign('image', dSpatial::image($t, $planete));
|
||||
$template->assign('image', dSpatial::image($t, $planete, $race));
|
||||
|
||||
$template->assign('ressourcesNext', array(dSpatial::metal($t, 1, $planete), dSpatial::cristal($t, 1, $planete), dSpatial::hydrogene($t, 1, $planete), dSpatial::temps($t, 1, $planete)));
|
||||
$template->assign('ressourcesNext', array(dSpatial::metal($t, 1, $planete, $race), dSpatial::cristal($t, 1, $planete, $race), dSpatial::hydrogene($t, 1, $planete, $race), dSpatial::temps($t, 1, $planete, $race)));
|
||||
|
||||
$template->assign('etat', dSpatial::needed($t, $planete, $race));
|
||||
$template->assign('caract', array($nomvais_at[$t], $nomvais_bc[$t], $nomvais_pv[$t], $nomvais_rs[$t]));
|
||||
$template->assign('caract', array(dSpatial::attaque($t, $planete, $race), dSpatial::bouclier($t, $planete, $race), dSpatial::armature($t, $planete, $race), dSpatial::tailleCales($t, $planete, $race)));
|
||||
} elseif (isset($_GET['d']) && is_numeric($_GET['d']) && !empty($LANG[$race]["terrestre"]["noms_sing"][$_GET['d']])) {
|
||||
$template->assign('type', 'terrestre');
|
||||
$t = gpc('d');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue