Skip to content

Commit

Permalink
Fix heavenly chips multiplier (Issue #129)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aktanusa committed Jul 28, 2017
1 parent 2176b9b commit 687cb9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CookieMonster.js
Original file line number Diff line number Diff line change
Expand Up @@ -2665,7 +2665,7 @@ CM.Sim.Win = function(what) {

eval('CM.Sim.HasAchiev = ' + Game.HasAchiev.toString().split('Game').join('CM.Sim'));

eval('CM.Sim.GetHeavenlyMultiplier = ' + Game.GetHeavenlyMultiplier.toString().split('Game').join('CM.Sim'));
eval('CM.Sim.GetHeavenlyMultiplier = ' + Game.GetHeavenlyMultiplier.toString().split('Game.Has').join('CM.Sim.Has').split('Game.hasAura').join('CM.Sim.hasAura'));

CM.Sim.hasAura = function(what) {
if (Game.dragonAuras[CM.Sim.dragonAura].name == what || Game.dragonAuras[CM.Sim.dragonAura2].name == what)
Expand Down
2 changes: 1 addition & 1 deletion src/Sim.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ CM.Sim.Win = function(what) {

eval('CM.Sim.HasAchiev = ' + Game.HasAchiev.toString().split('Game').join('CM.Sim'));

eval('CM.Sim.GetHeavenlyMultiplier = ' + Game.GetHeavenlyMultiplier.toString().split('Game').join('CM.Sim'));
eval('CM.Sim.GetHeavenlyMultiplier = ' + Game.GetHeavenlyMultiplier.toString().split('Game.Has').join('CM.Sim.Has').split('Game.hasAura').join('CM.Sim.hasAura'));

CM.Sim.hasAura = function(what) {
if (Game.dragonAuras[CM.Sim.dragonAura].name == what || Game.dragonAuras[CM.Sim.dragonAura2].name == what)
Expand Down

0 comments on commit 687cb9a

Please sign in to comment.