updated equip
This commit is contained in:
BIN
equip/chest_1_32-removebg-preview.png
Normal file
BIN
equip/chest_1_32-removebg-preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
BIN
equip/coin_3_32.jpg
Normal file
BIN
equip/coin_3_32.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
BIN
equip/coin_4_32.jpg
Normal file
BIN
equip/coin_4_32.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
BIN
equip/coin_5_32.jpg
Normal file
BIN
equip/coin_5_32.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
equip/main_panel.jpg
Normal file
BIN
equip/main_panel.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
BIN
equip/main_panel.png
Normal file
BIN
equip/main_panel.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 MiB |
@@ -54,7 +54,7 @@ def run():
|
|||||||
include_pots(needles, hsv)
|
include_pots(needles, hsv)
|
||||||
include_bags(needles, hsv)
|
include_bags(needles, hsv)
|
||||||
include_coins(needles, hsv)
|
include_coins(needles, hsv)
|
||||||
include_runes(needles, hsv)
|
#include_runes(needles, hsv)
|
||||||
elif EMITTER_TO_USE == EMITTER_SWORD:
|
elif EMITTER_TO_USE == EMITTER_SWORD:
|
||||||
include_books(needles, hsv)
|
include_books(needles, hsv)
|
||||||
include_swords(needles, hsv)
|
include_swords(needles, hsv)
|
||||||
@@ -88,7 +88,7 @@ def run():
|
|||||||
# cv.waitKey(150)
|
# cv.waitKey(150)
|
||||||
# continue
|
# continue
|
||||||
|
|
||||||
spawn_1 = (EMITTER_TO_USE, vision_stun, screenshot, 1)
|
spawn_1 = find_emitter(EMITTER_TO_USE, vision_stun, screenshot, 1)
|
||||||
if len(spawn_1) == 1:
|
if len(spawn_1) == 1:
|
||||||
spawn_button_active = True
|
spawn_button_active = True
|
||||||
points = vision_stun.get_click_points(spawn_1)
|
points = vision_stun.get_click_points(spawn_1)
|
||||||
@@ -98,7 +98,7 @@ def run():
|
|||||||
pause = True
|
pause = True
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
spawn_0 = (EMITTER_TO_USE, vision_stun, screenshot, 0)
|
spawn_0 = find_emitter(EMITTER_TO_USE, vision_stun, screenshot, 0)
|
||||||
points = vision_stun.get_click_points(spawn_0)
|
points = vision_stun.get_click_points(spawn_0)
|
||||||
for point in points:
|
for point in points:
|
||||||
click_point(config, points[0][0], points[0][1])
|
click_point(config, points[0][0], points[0][1])
|
||||||
@@ -157,6 +157,8 @@ def run():
|
|||||||
def include_chests(needles, hsv):
|
def include_chests(needles, hsv):
|
||||||
needles.append(cv.imread("equip/chest_1_32.jpg", cv.IMREAD_UNCHANGED))
|
needles.append(cv.imread("equip/chest_1_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
hsv.append(HsvFilter(13, 40, 85, 135, 255, 255, 0, 0, 55, 53))
|
hsv.append(HsvFilter(13, 40, 85, 135, 255, 255, 0, 0, 55, 53))
|
||||||
|
#needles.append(cv.imread("equip/chest_1_32-removebg-preview.png", cv.IMREAD_UNCHANGED))
|
||||||
|
#hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
||||||
needles.append(cv.imread("equip/chest_2_32.jpg", cv.IMREAD_UNCHANGED))
|
needles.append(cv.imread("equip/chest_2_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
hsv.append(HsvFilter(14, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
hsv.append(HsvFilter(14, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
||||||
needles.append(cv.imread("equip/chest_3_32.jpg", cv.IMREAD_UNCHANGED))
|
needles.append(cv.imread("equip/chest_3_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
@@ -220,7 +222,12 @@ def include_coins(needles, hsv):
|
|||||||
hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
||||||
needles.append(cv.imread("equip/coin_2_32.jpg", cv.IMREAD_UNCHANGED))
|
needles.append(cv.imread("equip/coin_2_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
||||||
|
needles.append(cv.imread("equip/coin_3_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
|
hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
||||||
|
needles.append(cv.imread("equip/coin_4_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
|
hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
||||||
|
needles.append(cv.imread("equip/coin_5_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
|
hsv.append(HsvFilter(0, 0, 0, 179, 255, 255, 0, 0, 0, 0))
|
||||||
|
|
||||||
def include_runes(needles, hsv):
|
def include_runes(needles, hsv):
|
||||||
needles.append(cv.imread("equip/rune_1_32.jpg", cv.IMREAD_UNCHANGED))
|
needles.append(cv.imread("equip/rune_1_32.jpg", cv.IMREAD_UNCHANGED))
|
||||||
|
|||||||
Reference in New Issue
Block a user