forked from MarseyWorld/MarseyWorld
Snakes
69dec16f55
The shop discount from Big Spender badges was incorrectly implemented: intended behavior was for 2pp per badge. However, the values in const.py were set as if a user could only have one Spender badge at once, while user.py @ discount was implemented as if they were additive. Since users factually do have multiple big spender badges, the values in const were adjusted to reflect this fact. Also, lootbox Roller badges now each offer a 1pp discount. users.py @ discount was improved to check against the `discounts` keys for appropriate badges, rather than a hardcoded list. |
||
---|---|---|
.. | ||
classes | ||
helpers | ||
routes | ||
templates | ||
__main__.py |