Fight random fix
This commit is contained in:
parent
58cec5ebf2
commit
41f81d2e5e
1 changed files with 2 additions and 2 deletions
4
bot.js
4
bot.js
|
@ -68,7 +68,7 @@ function mainLoop() {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//RANDOM BOSS
|
//RANDOM BOSS
|
||||||
if(randomBossRefreshing() === true && botFightingRandomBoss === true && botFightingGlobalBoss === false && haveSoldiers()) {
|
if(randomBossRefreshing() === true && botFightingRandomBoss === true && botFightingGlobalBoss === false && haveSoldiers() && botFightRandom === true) {
|
||||||
botFightingRandomBoss = false;
|
botFightingRandomBoss = false;
|
||||||
} else if(randomBossRefreshing() === false && botFightingRandomBoss === false) {
|
} else if(randomBossRefreshing() === false && botFightingRandomBoss === false) {
|
||||||
clickSelector('#randomBossPortal a');
|
clickSelector('#randomBossPortal a');
|
||||||
|
@ -100,7 +100,7 @@ function mainLoop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
//RAID
|
//RAID
|
||||||
if(raidRefreshing() === false && haveRaidTarget() === true && botFightRandom === true && internalRaidRefreshing() === false) {
|
if(raidRefreshing() === false && haveRaidTarget() === true && internalRaidRefreshing() === false) {
|
||||||
clickSelector('button[name="raid_button"]');
|
clickSelector('button[name="raid_button"]');
|
||||||
botFillIn('input[name="raid_user"]', botRaidTarget);
|
botFillIn('input[name="raid_user"]', botRaidTarget);
|
||||||
botRaiding = true;
|
botRaiding = true;
|
||||||
|
|
Loading…
Reference in a new issue