Mtarnuhal / FrozenCookies

An automated Cookie Clicker tool.
27 stars 22 forks source link

The building multiplier golden cookie effect breaks the bank #75

Open Vandalite opened 3 years ago

Vandalite commented 3 years ago

Back when we were first building the code for the bank system (to farm golden cookie effects at their most effective) we determined that certain golden cookie effects (in particular the frenzies) had to be disabled while simulating the efficiency calculations for the autobuy upgrade lists...

Since then it seems a new golden cookie effect has been added, and this effect, when active vastly impacts the efficiency calculations for upgrades, for the duration of the building multiplier. This causes the autobuy system to 'break the bank' and when that buff is over, it goes back to rebuilding the bank... this is not very efficient. The new building multiplier needs to be filtered out of the autobuy calculations much like frenzies were to make that math accurate again.

Edit: had a look at the code, and I remember how we did that now... we used baseCPS for the calculations for deltaCps... we may have to add some manual code to filter out the results of the building multiplier...