only fight when we have soldiers
This commit is contained in:
parent
8e18325656
commit
ae9b19761c
1 changed files with 3 additions and 3 deletions
|
@ -78,12 +78,12 @@ function mainLoop() {
|
|||
}
|
||||
} else {
|
||||
//RANDOM BOSS
|
||||
if(randomBossRefreshing() === true && botFightingRandomBoss === true && botFightingGlobalBoss === false && haveSoldiers()) {
|
||||
if(randomBossRefreshing() === true && botFightingRandomBoss === true && botFightingGlobalBoss === false) {
|
||||
botFightingRandomBoss = false;
|
||||
} else if(randomBossRefreshing() === false && botFightingRandomBoss === false && botFightRandom === true) {
|
||||
} else if(randomBossRefreshing() === false && botFightingRandomBoss === false && botFightRandom === true && haveSoldiers()) {
|
||||
clickSelector('#randomBossPortal a');
|
||||
botFightingRandomBoss = true;
|
||||
} else if(botTimestamp() > botLastRandom + 180 && botFightRandom === true) {
|
||||
} else if(botTimestamp() > botLastRandom + 180 && botFightRandom === true && haveSoldiers()) {
|
||||
clickSelector('#randomBossPortal a');
|
||||
botFightingRandomBoss = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue