function for buying max slimes
This commit is contained in:
parent
3ab60a35f7
commit
abf1b68197
1 changed files with 10 additions and 0 deletions
10
bot.js
10
bot.js
|
@ -39,3 +39,13 @@ function botRaid(username) {
|
|||
$('input[name="raid_user"]').val(username);
|
||||
$('button:contains("Raid!")').get(0).click();
|
||||
}
|
||||
|
||||
function buySlimes() {
|
||||
var slimeTimer = setInterval(function() {
|
||||
$('button[name="buymax-knight"]').get(0).click();
|
||||
setTimeout(function() {
|
||||
$('button:contains("Yes")').get(0).click();
|
||||
}, 500);
|
||||
}, 60000);
|
||||
activeTimers.push(slimeTimer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue