Anonymous

Township: Difference between revisions

From Melvor Idle
17 bytes added ,  30 October 2022
Fix XP gain formula
(Population to Current Population for consistency)
(Fix XP gain formula)
Line 16: Line 16:
Experience in Township earned per tick is given by the following formula:
Experience in Township earned per tick is given by the following formula:


<math>\text{Base Experience} = \max \left (1 + \frac{\text{Happiness %}}{100} \times \frac{\text{Current Population}}{100} \times \frac{\text{Tick Length}}{10}, 1 \right )</math>
<math>\text{Base Experience} = \max \left (\left ( 1 + \frac{\text{Happiness %}}{100} \right ) \times \frac{\text{Current Population}}{100} \times \frac{\text{Tick Length}}{10}, 1 \right )</math>


Where <math>\text{Tick Length} = 300</math>, being the number of seconds taken to gain a tick.
Where <math>\text{Tick Length} = 300</math>, being the number of seconds taken to gain a tick.