2121 active members
  188 are online

Year

19

Day

323

Time

22:17:55

Guest
Login
snewsgnewsmessagegeneralfactioninventorycombatroom
Year 13 Day 300 7:43
Just been having a look at the Morale calculations for planets to see why my equations weren't working exactly, and noticed something odd. Here is the equation:

M = [(1 - (CR * TL * CL)) * (Sum of Each3 (NF * FA))] / [(Sum of Each4 (NF * FA)) + 2(Sum of Each5 (NF * FA)) + 4(Sum of Each6 (NF * FA))]

Now, the Each3 facilities boost morale, and the Each4, Each5, Each6 facilities reduce morale. If you look closely, you will see that if you have a only facilities that boost morale (like religious facilities), morale will still end up as 0 (or really an error) as you will be dividing by 0.

Now this seems just wrong, and I am wondering if there is something on the second half of the divide that should be there to take that into account?


____________

Ellias_sig6.png