This commit is contained in:
redthefed
2018-02-16 18:53:56 -06:00
parent 7295e0ea76
commit 0f8b5b7da7
5 changed files with 188 additions and 210 deletions

View File

@@ -133,14 +133,6 @@ CM.Cache.RemakePP = function() {
CM.Cache.RemakeBuildingsOtherPP(100, 'Objects100');
}
CM.Cache.RemakeMultiple = function () {
for (var i in CM.Cache.Objects) {
var nextMultiple = 50 - Game.Objects[i].amount % 50;
CM.Cache.Objects[i].multiple_quantity = nextMultiple;
CM.Cache.Objects[i].multiple_price = CM.Sim.BuildingGetPrice(Game.Objects[i].basePrice, Game.Objects[i].amount, Game.Objects[i].free, nextMultiple);
}
}
CM.Cache.RemakeLucky = function() {
CM.Cache.Lucky = (CM.Cache.NoGoldSwitchCookiesPS * 60 * 15) / 0.15;
CM.Cache.Lucky /= CM.Sim.getCPSBuffMult();