From 66e11d0fcfe46b177628ef5717db61ebb2060942 Mon Sep 17 00:00:00 2001 From: Nigel Sheldon Date: Mon, 30 Nov 2020 19:21:48 +0100 Subject: [PATCH] =?UTF-8?q?Les=20modules=20r=C3=A9sidentiels=20ajoutent=20?= =?UTF-8?q?d=C3=A9sormais=20du=20morale=20aux=20habitants?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- onyx2/include/Class/planete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onyx2/include/Class/planete.php b/onyx2/include/Class/planete.php index 3ba4a72..a65e153 100644 --- a/onyx2/include/Class/planete.php +++ b/onyx2/include/Class/planete.php @@ -322,8 +322,8 @@ class Planete extends Surface //Surlogement - //Effets des batiments loisirs et commerces - $this->moral += 0.0025*$this->batiments[15] + 0.1*$this->batiments[16]; + //Effets des batiments modules résidentiels, centre commercials et centre de loisir + $this->moral += 0.0010*$this->batiments[12] + 0.0025*$this->batiments[15] + 0.1*$this->batiments[16]; //Ajustement du moral en fonction de la politique if ($this->politique == 1 && $this->moral > 0.7) { -- 2.45.2