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,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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue