This commit is contained in:
Andrew Tomaka 2016-05-24 11:56:51 -04:00
parent a816a456bc
commit 4bc38236d0

View file

@ -99,10 +99,8 @@ function mainLoop() {
if(haveSlimes(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {
setBotToPurchasing();
clickSelector('button[name="buyx-knight"]');
botPurchasingTimer = setInterval(function() {
botFillIn('input[name="x_amount"]', SAFE_SOLDIER_COUNT);
clickButton("Yes");
}, 250);
clickButton("Buy");
}
if(haveCreepers(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {