Auto-activate all items (one at a time)

This commit is contained in:
Andrew Tomaka 2015-04-07 16:08:45 -04:00
parent abf1b68197
commit bf03f36bdf

2
bot.js
View file

@ -18,6 +18,8 @@ function play() {
activeTimers.push(delayClick('#popup span button:contains("CONTINUE")', 3)); activeTimers.push(delayClick('#popup span button:contains("CONTINUE")', 3));
activeTimers.push(delayClick('#randomBossPortal a', 20)); activeTimers.push(delayClick('#randomBossPortal a', 20));
activeTimers.push(delayClick('span[name="timeRemaining"]:contains("JOIN") a', 80)); activeTimers.push(delayClick('span[name="timeRemaining"]:contains("JOIN") a', 80));
activeTimers.push(delayClick('button:contains("Activate")', 20));
activeTimers.push(delayClick('button:contains("Activate Item")', 3));
var timer = setInterval(function() { var timer = setInterval(function() {
if($('img[name="globalBossImg"]').is(':visible')) { if($('img[name="globalBossImg"]').is(':visible')) {