Consider current amount of Heavenly Chips when calculate next lucky digit/number/payout
Jerryh001 opened this issue · 1 comments
Feature description
CookieMonster/src/Disp/MenuSections/Statistics/CreateStatsSections.js
Lines 609 to 649 in 9d101dd
for example: when we started with 0 chips and 1000 prestige level, the player can buy it after get 777 chips (1777 level)
but next lucky digit
in current version will be 1007 instead of 1777
Additional files
No response
I know this is an old post, but nobody has yet to comment... I'm thinking maybe they're confused by what you're asking, given your example.
I believe you're asking for the code to account for when the player can also afford to buy the upgrade. So while, in your example, the upgrade would next be available at 1007 prestige, the player would only have 7 chips and couldn't afford to buy it. The upgrade costs 777 chips to buy, so the min prestige to be able to buy it would be 1777 which also just happens to meet the upgrade condition. *
That's probably not a bad idea, but I would add that the display of this information needs to make it clear that it's also accounting for when the player afford to buy the upgrade. Otherwise, someone will complain that, using your example, the code is incorrectly showing 1777 when 1007 would actually be next.
- at the present time, this code is no longer accurate anyway - 2 months ago, the conditions for these upgrades changed and cookie monster hasn't been updated accordingly