Can anyone one explain why this procedure never ends because of the countColorTolerance condition?
Code:
begin
repeat
wellTimer.reset;
wait(random(100,400));
actionBar.clickSlot(1);
wait(random(600,1200));
conversationBox.selectOption(1);
wait(random(600,1200));
wellTimer.start;
wait(random(1000,2000));
until
(countColorTolerance(wellColor, TabBackpack.GetSlotBox(1), wellColorTol) <> wellColor) or (giveUp.getTime > 20000)
end
The idea is that if an item in slot 1 is used, there is no way that the colors in the empty slot can be equal the initial color.