Add routine for hunter mark first step

This commit is contained in:
2024-09-28 14:40:11 -04:00
parent da1ba01120
commit fe2d532dc1
5 changed files with 33 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
import cv2 as cv
class Spell:
def __init__(self, monitor, path, cooldown) -> None:
self.monitor = monitor
self.spellIcon = cv.imread("assets/spells/" + path, cv.IMREAD_GRAYSCALE)
def click():
self.monitor.findMatchAndClickIfAvailable(self.spellIcon)