Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- findColorsSpiralTolerance(x, y, TPA, ELLIS_COLOR, mainScreen.getBounds(), ELLIS_TOL, colorSetting(2, ELLIS_HUE, ELLIS_SAT));
- if (length(TPA) > 0) then
- begin
- TPA.excludePointsDist(0, 130, mainscreen.getCenterPoint().x, mainscreen.getCenterPoint().y);
- ATPA := TPA.toATPA(10, 10);
- ATPA.filterBetween(0, 25);
- ATPA.sortFromMidPoint(mainscreen.playerPoint);
- smartImage.debugATPA(ATPA);
- for i := 0 to high(ATPA) do
- begin
- mouse(MiddleTPA(ATPA[i]), MOUSE_MOVE);
- if isMouseOverText(['Ellis'], 750) then
- begin
- fastClick(MOUSE_RIGHT);
- if chooseOption.select(['hides']) then
- begin
- smartImage.clearArea(mainscreen.getBounds());
- exit(true);
- end;
- end;
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement