1
0
Fork 0
This commit is contained in:
Andrew Tomaka 2016-05-24 11:56:51 -04:00
parent a816a456bc
commit 4bc38236d0
1 changed files with 2 additions and 4 deletions

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);
botFillIn('input[name="x_amount"]', SAFE_SOLDIER_COUNT);
clickButton("Buy");
}
if(haveCreepers(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {