From 5184b511f22f7918d7d45f97cc56204103130b7e Mon Sep 17 00:00:00 2001 From: Nigel Sheldon Date: Sun, 28 Feb 2021 12:53:11 +0100 Subject: [PATCH] La mauvaise techno controllait l'immigration coloniale --- onyx2/include/Class/planete.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/onyx2/include/Class/planete.php b/onyx2/include/Class/planete.php index 5925a64..43ee8fb 100644 --- a/onyx2/include/Class/planete.php +++ b/onyx2/include/Class/planete.php @@ -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; }