Don't try to fight random boss until off global

This commit is contained in:
Andrew Tomaka 2015-04-09 23:22:25 -04:00
parent b4d33f9842
commit 20961faa4d

2
bot.js
View file

@ -58,7 +58,7 @@ function mainLoop() {
} }
//RANDOM BOSS //RANDOM BOSS
if(randomBossRefreshing() === true && botFightingRandomBoss === true) { if(randomBossRefreshing() === true && botFightingRandomBoss === true && botFightingGlobalBoss === false) {
botFightingRandomBoss = false; botFightingRandomBoss = false;
} else if(randomBossRefreshing() === false && botFightingRandomBoss === false) { } else if(randomBossRefreshing() === false && botFightingRandomBoss === false) {
clickSelector('#randomBossPortal a'); clickSelector('#randomBossPortal a');