forked from halo-battle/game
La mauvaise techno controllait l'immigration coloniale
This commit is contained in:
parent
4f1f6a1ef3
commit
5184b511f2
@ -273,11 +273,12 @@ class Planete extends Surface
|
|||||||
$popPlus *= 1.05;
|
$popPlus *= 1.05;
|
||||||
} //Démocratie : 5 % de population qui arrive en plus.
|
} //Démocratie : 5 % de population qui arrive en plus.
|
||||||
|
|
||||||
if ($this->technologies[2] & 4) {
|
//Bonus techno immigration coloniale
|
||||||
|
if ($this->technologies[3] & 4) {
|
||||||
$popPlus *= 1.15;
|
$popPlus *= 1.15;
|
||||||
} elseif ($this->technologies[2] & 2) {
|
} elseif ($this->technologies[3] & 2) {
|
||||||
$popPlus *= 1.10;
|
$popPlus *= 1.10;
|
||||||
} elseif ($this->technologies[2] & 1) {
|
} elseif ($this->technologies[3] & 1) {
|
||||||
$popPlus *= 1.05;
|
$popPlus *= 1.05;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user