Les modules résidentiels ajoutent désormais du morale aux habitants
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
504c55992e
commit
cc6b7ecc88
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user