1
0
Fork 0

another attempt to get dropping right

This commit is contained in:
Andrew Tomaka 2016-05-25 16:21:41 -04:00
parent 8f7883b8f4
commit ee955bd93a
1 changed files with 4 additions and 6 deletions

View File

@ -129,7 +129,7 @@ function mainLoop() {
}
//ACTIVATE BUFFS
if(inactiveBuffs()) {
if(inactiveBuffs() && !botDropping) {
activateBuffs();
}
@ -189,11 +189,9 @@ function activateBuffs() {
}
}
} else {
if(!botDropping) {
var itemButton = itemHolder.find('button:contains("Drop")');
itemButton.get(0).click();
botDropping = true;
}
var itemButton = itemHolder.find('button:contains("Drop")');
itemButton.get(0).click();
botDropping = true;
}
});
}