generated from nhcarrigan/template
dc1353a15c35045dd0c24c70aae0419f518e97ac
Replaces the flat RESOURCE_CAP on gold and essence with a per-save maximum derived from the player's actual income rate. The server now computes max legitimate earnings using the previous (DB-trusted) state's adventurers, upgrades, prestige multipliers, and equipment, then applies a 2x buffer to cover mid-session purchases. Quest rewards are only credited when the quest was active with an expired timer in the previous state (using authoritative game data to prevent reward/duration tampering). Boss rewards are included as a race-condition safety buffer for simultaneous boss-write and save requests. Runestones are capped at the previous value since they are only granted server-side via prestige.
New Repository Template
This template contains all of our basic files for a new GitHub repository. There is also a handy workflow that will create an issue on a new repository made from this template, with a checklist for the steps we usually take in setting up a new repository.
If you're starting a Node.JS project with TypeScript, we have a specific template for that purpose.
Readme
Delete all of the above text (including this line), and uncomment the below text to use our standard readme template.
Description