Skip to content

Commit

Permalink
Fixed to work with Version 2.012 of Cookie Clicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Aktanusa committed Aug 8, 2018
1 parent 3af0dd8 commit 1a1877e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CookieMonster.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down
3 changes: 2 additions & 1 deletion src/Sim.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 1a1877e

Please sign in to comment.