Add buyer for scientists
This commit is contained in:
parent
45dbbc3c4a
commit
e76fb2097b
1 changed files with 10 additions and 0 deletions
10
bot.js
10
bot.js
|
@ -34,8 +34,18 @@ function play() {
|
|||
}
|
||||
}, 10000);
|
||||
|
||||
var scientistTimer = setInterval(function() {
|
||||
if($('span[name="scientists_price"]').text() == "1 BC") {
|
||||
$('button[name="hiremax_scientists"]').get(0).click();
|
||||
setTimeout(function() {
|
||||
$('button:contains("Yes")').get(0).click();
|
||||
}, 250);
|
||||
}
|
||||
}, 20000);
|
||||
|
||||
activeTimers.push(globalBossTimer);
|
||||
activeTimers.push(activateTimer);
|
||||
activeTimers.push(scientistTimer);
|
||||
}
|
||||
|
||||
function pause() {
|
||||
|
|
Loading…
Reference in a new issue