From 1a1877e15c0975398e986b92e7864ed780c04274 Mon Sep 17 00:00:00 2001 From: Aktanusa Date: Wed, 8 Aug 2018 11:37:35 -0400 Subject: [PATCH] Fixed to work with Version 2.012 of Cookie Clicker --- CookieMonster.js | 3 ++- src/Sim.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CookieMonster.js b/CookieMonster.js index 42590da2..b9692d4d 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -3002,7 +3002,7 @@ CM.Sim.CalculateGains = function() { if (CM.Sim.Has('An itchy sweater')) mult *= 1.01; if (CM.Sim.Has('Santa\'s dominion')) mult *= 1.2; - var buildMult=1; + var buildMult = 1; if (Game.hasGod) { var godLvl = Game.hasGod('asceticism'); if (godLvl == 1) mult *= 1.15; @@ -3224,6 +3224,7 @@ CM.Sim.BuyBuildings = function(amount, target) { if (me.amount >= 300) CM.Sim.Win('Extreme polydactyly'); if (me.amount >= 400) CM.Sim.Win('Dr. T'); if (me.amount >= 500) CM.Sim.Win('Thumbs, phalanges, metacarpals'); + if (me.amount >= 600) CM.Sim.Win('With her finger and her thumb'); } else { for (var j in Game.Objects[me.name].tieredAchievs) { diff --git a/src/Sim.js b/src/Sim.js index 707af7e2..1b7cc90c 100644 --- a/src/Sim.js +++ b/src/Sim.js @@ -187,7 +187,7 @@ CM.Sim.CalculateGains = function() { if (CM.Sim.Has('An itchy sweater')) mult *= 1.01; if (CM.Sim.Has('Santa\'s dominion')) mult *= 1.2; - var buildMult=1; + var buildMult = 1; if (Game.hasGod) { var godLvl = Game.hasGod('asceticism'); if (godLvl == 1) mult *= 1.15; @@ -409,6 +409,7 @@ CM.Sim.BuyBuildings = function(amount, target) { if (me.amount >= 300) CM.Sim.Win('Extreme polydactyly'); if (me.amount >= 400) CM.Sim.Win('Dr. T'); if (me.amount >= 500) CM.Sim.Win('Thumbs, phalanges, metacarpals'); + if (me.amount >= 600) CM.Sim.Win('With her finger and her thumb'); } else { for (var j in Game.Objects[me.name].tieredAchievs) {