Add new pop-up handler
This commit is contained in:
parent
60b40bd394
commit
8624e5e421
1 changed files with 2 additions and 1 deletions
3
bot.js
3
bot.js
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue