actually do not fight the global...again

This commit is contained in:
Andrew Tomaka 2015-04-11 00:42:23 -04:00
parent 20fbe26f8b
commit 42331e6a2e

4
bot.js
View file

@ -67,10 +67,10 @@ function mainLoop() {
}
//GLOBAL BOSS
if(globalBossRefreshing() === true && botFightingGlobalBoss === true && botFightGlobal === true) {
if(globalBossRefreshing() === true && botFightingGlobalBoss === true) {
clearInterval(botGlobalBossTimer);
botFightingGlobalBoss = false;
} else if(globalBossRefreshing() === false && botFightingGlobalBoss === false) {
} else if(globalBossRefreshing() === false && botFightingGlobalBoss === false && botFightGlobal === true) {
clickSelector('span[name="timeRemaining"]:contains("JOIN") a');
botGlobalBossTimer = setInterval(fightGlobalBoss, 250);
botFightingGlobalBoss = true;