another attempt to get dropping right
This commit is contained in:
parent
8f7883b8f4
commit
ee955bd93a
1 changed files with 4 additions and 6 deletions
|
@ -129,7 +129,7 @@ function mainLoop() {
|
|||
}
|
||||
|
||||
//ACTIVATE BUFFS
|
||||
if(inactiveBuffs()) {
|
||||
if(inactiveBuffs() && !botDropping) {
|
||||
activateBuffs();
|
||||
}
|
||||
|
||||
|
@ -189,12 +189,10 @@ function activateBuffs() {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if(!botDropping) {
|
||||
var itemButton = itemHolder.find('button:contains("Drop")');
|
||||
itemButton.get(0).click();
|
||||
botDropping = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue