Test
This commit is contained in:
parent
a816a456bc
commit
4bc38236d0
1 changed files with 2 additions and 4 deletions
|
@ -99,10 +99,8 @@ function mainLoop() {
|
||||||
if(haveSlimes(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {
|
if(haveSlimes(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {
|
||||||
setBotToPurchasing();
|
setBotToPurchasing();
|
||||||
clickSelector('button[name="buyx-knight"]');
|
clickSelector('button[name="buyx-knight"]');
|
||||||
botPurchasingTimer = setInterval(function() {
|
botFillIn('input[name="x_amount"]', SAFE_SOLDIER_COUNT);
|
||||||
botFillIn('input[name="x_amount"]', SAFE_SOLDIER_COUNT);
|
clickButton("Buy");
|
||||||
clickButton("Yes");
|
|
||||||
}, 250);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(haveCreepers(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {
|
if(haveCreepers(SAFE_SOLDIER_COUNT) === false && botFightRandom === true && botPurchasing === false) {
|
||||||
|
|
Loading…
Reference in a new issue