Add new pop-up handler

This commit is contained in:
Andrew Tomaka 2015-04-14 10:09:27 -04:00
parent 60b40bd394
commit 8624e5e421

3
bot.js
View file

@ -9,7 +9,7 @@ var botFightingGlobalBoss = false;
var botBuySlimes = false; var botBuySlimes = false;
var botFightGlobal = true; var botFightGlobal = true;
var botRaidTarget = null; var botRaidTarget = null;
var botLastRandom; var botLastRandom = 0;
function mainLoop() { function mainLoop() {
if($('#popup').is(':visible')) { if($('#popup').is(':visible')) {
@ -54,6 +54,7 @@ function mainLoop() {
case 'Lobby closed': case 'Lobby closed':
case 'Wait': case 'Wait':
case 'ACTIVITY FAILED!': case 'ACTIVITY FAILED!':
case 'Game in progress':
clickButton('CONTINUE'); clickButton('CONTINUE');
break; break;
default: default: