La mauvaise techno controllait l'immigration coloniale

This commit is contained in:
Nigel Sheldon 2021-02-28 12:53:11 +01:00
parent 4f1f6a1ef3
commit 5184b511f2

View File

@ -273,11 +273,12 @@ class Planete extends Surface
$popPlus *= 1.05;
} //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;
} elseif ($this->technologies[2] & 2) {
} elseif ($this->technologies[3] & 2) {
$popPlus *= 1.10;
} elseif ($this->technologies[2] & 1) {
} elseif ($this->technologies[3] & 1) {
$popPlus *= 1.05;
}