Browse Source

Update AlbionFisher.py

master
Unbewohnte 5 years ago committed by GitHub
parent
commit
95e6df5ad5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      AlbionFisher.py

4
AlbionFisher.py

@ -56,7 +56,7 @@ while True:
while arrayEND == True: while arrayEND == True:
time.sleep(0.3) time.sleep(0.3)
catch = False catch = False
window = ImageGrab.grab((837,532,1078,567)) window = ImageGrab.grab((837,532,1078,567)) #This is where the minigame will appear (FullHD)
locate = pg.locate('obrezka.png',window, confidence = 0.5) locate = pg.locate('obrezka.png',window, confidence = 0.5)
if locate == None: if locate == None:
@ -67,7 +67,7 @@ while True:
catch = True catch = True
while catch == True: while catch == True:
window = ImageGrab.grab((837,532,1078,567)) #This is where the mini-game appear (FullHD monitor) window = ImageGrab.grab((837,532,1078,567))
ggmme = pg.locate('obrezka.png',window, confidence = 0.5) ggmme = pg.locate('obrezka.png',window, confidence = 0.5)
if ggmme != None: if ggmme != None:
x = ggmme[0] x = ggmme[0]

Loading…
Cancel
Save