1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-03 09:59:43 +08:00

Add: Navbar module

Opt: Replace sidebar mechanism to Navbar for equipment and guild modules
This commit is contained in:
nEEtdo0d
2021-07-10 22:58:11 -04:00
parent c1f299137b
commit 166b486fc7
6 changed files with 273 additions and 209 deletions

View File

@@ -1,7 +1,6 @@
from random import choice
import numpy as np
from module.base.decorator import cached_property
from module.base.timer import Timer
from module.combat.assets import GET_ITEMS_1
@@ -144,7 +143,7 @@ class Enhancement(Dock):
return False, ship_count
if skip_until_ensured:
if not self.equip_sidebar_ensure(index=4):
if not self.equip_side_navbar_ensure(bottom=4):
continue
self.wait_until_appear(ENHANCE_RECOMMEND, offset=(5, 5), skip_first_screenshot=True)
skip_until_ensured = False