mirror of
https://github.com/Luzifer/automate-cookie-clicker.git
synced 2024-12-22 18:21:18 +00:00
Lets manage dragons
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
81d8206151
commit
636a6a381d
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Automate CookieClicker
|
// @name Automate CookieClicker
|
||||||
// @namespace https://luzifer.io/
|
// @namespace https://luzifer.io/
|
||||||
// @version 0.13.2
|
// @version 0.14.0
|
||||||
// @description Automate everything!
|
// @description Automate everything!
|
||||||
// @author Knut Ahlers <knut@ahlers.me>
|
// @author Knut Ahlers <knut@ahlers.me>
|
||||||
// @source https://github.com/Luzifer/automate-cookie-clicker
|
// @source https://github.com/Luzifer/automate-cookie-clicker
|
||||||
|
@ -52,6 +52,11 @@ function executeAutoActions() {
|
||||||
product.click();
|
product.click();
|
||||||
note('Purchased ' + product.find('.title:first').text() + ' for you.');
|
note('Purchased ' + product.find('.title:first').text() + ' for you.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Upgrade dragon if possible
|
||||||
|
if (Game.dragonLevels[Game.dragonLevel + 1].cost()) {
|
||||||
|
Game.UpgradeDragon()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function controlAutoClicker() {
|
function controlAutoClicker() {
|
||||||
|
|
Loading…
Reference in a new issue