Actually prevent random fighting on toggle
This commit is contained in:
parent
41f81d2e5e
commit
e06c4c1558
1 changed files with 3 additions and 3 deletions
6
bot.js
6
bot.js
|
@ -68,12 +68,12 @@ function mainLoop() {
|
|||
}
|
||||
} else {
|
||||
//RANDOM BOSS
|
||||
if(randomBossRefreshing() === true && botFightingRandomBoss === true && botFightingGlobalBoss === false && haveSoldiers() && botFightRandom === true) {
|
||||
if(randomBossRefreshing() === true && botFightingRandomBoss === true && botFightingGlobalBoss === false && haveSoldiers()) {
|
||||
botFightingRandomBoss = false;
|
||||
} else if(randomBossRefreshing() === false && botFightingRandomBoss === false) {
|
||||
} else if(randomBossRefreshing() === false && botFightingRandomBoss === false && botFightRandom === true) {
|
||||
clickSelector('#randomBossPortal a');
|
||||
botFightingRandomBoss = true;
|
||||
} else if(botTimestamp() > botLastRandom + 180) {
|
||||
} else if(botTimestamp() > botLastRandom + 180 && botFightRandom === true) {
|
||||
clickSelector('#randomBossPortal a');
|
||||
botFightingRandomBoss = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue