Grosse passe sur les recherches #22

Merged
nemunaire merged 9 commits from task/20210228/add_techno_implementation into master 2021-02-28 17:10:22 +00:00
Showing only changes of commit 5184b511f2 - Show all commits

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;
}