undo map stuff

This commit is contained in:
Andrew Tomaka 2016-05-26 10:24:19 -04:00
parent ee955bd93a
commit 645f9c8f23

View file

@ -8,7 +8,6 @@ var botGlobalBossTimer;
var botPurchasingTimer; var botPurchasingTimer;
var botPaused = true; var botPaused = true;
var botPurchasing = false; var botPurchasing = false;
var botDropping = false;
var botSleeping = false; var botSleeping = false;
var botRaiding = false; var botRaiding = false;
var botFightingRandomBoss = false; var botFightingRandomBoss = false;
@ -43,9 +42,6 @@ function mainLoop() {
case 'Are you sure?': case 'Are you sure?':
if(botDropping) { if(botDropping) {
clickButton('Drop Item'); clickButton('Drop Item');
setTimeout(function() {
botDropping = false;
}, 2000);
} else { } else {
clickButton('Activate Item'); clickButton('Activate Item');
} }
@ -129,7 +125,7 @@ function mainLoop() {
} }
//ACTIVATE BUFFS //ACTIVATE BUFFS
if(inactiveBuffs() && !botDropping) { if(inactiveBuffs()) {
activateBuffs(); activateBuffs();
} }
@ -191,7 +187,6 @@ function activateBuffs() {
} else { } else {
var itemButton = itemHolder.find('button:contains("Drop")'); var itemButton = itemHolder.find('button:contains("Drop")');
itemButton.get(0).click(); itemButton.get(0).click();
botDropping = true;
} }
}); });
} }