Skip to content
Snippets Groups Projects

Fixed weekly SF money being outrageous and SF unit accounting

Merged amomynous0 requested to merge amomynous0/fc-pregmod:SFMoneyFix into pregmod-master

New accounting system for the weekly income the SF generates.
The old way money was calculated gets pretty exponential as it multiplies with every upgrade you buy. If you have every unit, I think there's a 11^17 multiplier in there.

The new way uses several multipliers for the number of troops, a weighted unit count, weekly SF action (raiding vs training, etc), and depravity. From my testing it should give a maximum of about 1.6 billion per week, without taking major depravity changes into account. In short, no more trillion dollar paydays.

Sorry about the line changes, I don't know how they got double spaced on Pregmod's end.

Finally, I also made some quick fixes to the SFUnits count in the JS, because it was somehow broken.

Merge request reports

Merged by PregmodderPregmodder 6 years ago (Oct 13, 2018 8:03pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading