Guest User

Untitled

a guest
Jun 21st, 2018
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. /* For Cookie Clicker v. 2.0106
  2. coded on Chrome 67
  3.  
  4. Automated strategies for Minigames
  5.  
  6. Stop by typing in the console
  7. > clearInterval(minigamesInterval);
  8. */
  9.  
  10. minigamesInterval = setInterval(function(){
  11.  
  12. if (Game.ObjectsById[6].minigame){
  13. // strategy for the Pantheon minigame, suppose an active play
  14. // Diamond - Godzamok
  15. // Ruby - Molkasium
  16. // Jade - Muridal
  17. // Sell all your Cursor if the Frenzy buff is detected (for Godzamok + Frenzy combo)
  18. if (Game.hasBuff('Frenzy')
  19. && !Game.hasBuff('Devastation')){
  20. var nbOfCursors = Game.ObjectsById[0].amount;
  21. Game.ObjectsById[0].sell(nbOfCursors - 1, false);
  22. }
  23. }
  24.  
  25. if (Game.ObjectsById[7].minigame){
  26. // strategy for the Grimoire
  27. // Backup of the Pantheon Frenzy strategy
  28. // If there's no Golden Cookie, and mana is full, and you can cast it, cast 'Force the Hand of Fate'
  29.  
  30. var grimoireObject = Game.ObjectsById[7].minigame;
  31. if (!Game.shimmers
  32. && grimoireObject.magicM >= (10 + 0.1*grimoireObject.magicM)
  33. && grimoireObject.magic == grimoireObject.magicM){
  34. grimoireObject.castSpell(grimoireObject.spellsById[1], {});
  35. }
  36.  
  37. }
  38.  
  39. }, 1000);
Add Comment
Please, Sign In to add comment