Add function to make raiding easier

This commit is contained in:
Andrew Tomaka 2015-04-07 15:19:27 -04:00
parent 6419abb381
commit 3ab60a35f7

6
bot.js
View file

@ -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();
}