Toggle global boss fight
This commit is contained in:
parent
15adfcd4e8
commit
be0b329a60
1 changed files with 11 additions and 0 deletions
11
bot.js
11
bot.js
|
@ -5,6 +5,7 @@ var botRaiding = false;
|
|||
var botFightingRandomBoss = false;
|
||||
var botFightingGlobalBoss = false;
|
||||
var botBuySlimes = false;
|
||||
var botFightGlobal = true;
|
||||
var botRaidTarget = null;
|
||||
var botGlobalBossTimer;
|
||||
|
||||
|
@ -223,6 +224,16 @@ function botToggleSlimes() {
|
|||
}
|
||||
}
|
||||
|
||||
function botToggleGlobal() {
|
||||
if(botFightGlobal) {
|
||||
console.log('Stopping global fighting');
|
||||
botFightGlobal = false;
|
||||
} else {
|
||||
console.log('Starting global fighting');
|
||||
botFightGlobal = true;
|
||||
}
|
||||
}
|
||||
|
||||
function botSetTarget(username) {
|
||||
botRaidTarget = username;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue