Add function to make raiding easier
This commit is contained in:
parent
6419abb381
commit
3ab60a35f7
1 changed files with 6 additions and 0 deletions
6
bot.js
6
bot.js
|
@ -33,3 +33,9 @@ function pause() {
|
|||
clearInterval(activeTimers[i]);
|
||||
}
|
||||
}
|
||||
|
||||
function botRaid(username) {
|
||||
$('button:contains("Raid")').get(0).click();
|
||||
$('input[name="raid_user"]').val(username);
|
||||
$('button:contains("Raid!")').get(0).click();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue