added smaler mining area
This commit is contained in:
6
mine.py
6
mine.py
@@ -1,4 +1,6 @@
|
||||
import cv2 as cv
|
||||
|
||||
import game_base_class
|
||||
from utils import dig_point, check_for_ok_button
|
||||
from game_base_class import GameBase
|
||||
from window_capture import WindowCapture
|
||||
@@ -63,8 +65,8 @@ class Mine(GameBase):
|
||||
elif self.level % 2 == 0:
|
||||
self.plot_size = self.plot_size - 1
|
||||
|
||||
p1 = int((self.config.returnDiggingWindowPos2()[0] / 2) + self.config.returnDiggingWindowPos2()[2])
|
||||
p2 = int((self.config.returnDiggingWindowPos2()[1] / 2) + self.config.returnDiggingWindowPos2()[3])
|
||||
p1 = int((self.config.returnDiggingWindowPos2(game_base_class.MINING_LARGE)[0] / 2) + self.config.returnDiggingWindowPos2(game_base_class.MINING_LARGE)[2])
|
||||
p2 = int((self.config.returnDiggingWindowPos2(game_base_class.MINING_LARGE)[1] / 2) + self.config.returnDiggingWindowPos2(game_base_class.MINING_LARGE)[3])
|
||||
|
||||
# start 705 , 564 -> click
|
||||
# move L D -> click
|
||||
|
||||
Reference in New Issue
Block a user