mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Merge remote-tracking branch 'origin/master' into update_asset
This commit is contained in:
commit
e5cf62069f
@ -98,6 +98,7 @@ class Combat(Level, HPBalancer, EnemySearchingHandler, Retirement, SubmarineCall
|
||||
fleet_index (int):
|
||||
"""
|
||||
logger.info('Combat preparation.')
|
||||
skip_first_screenshot = True
|
||||
|
||||
if emotion_reduce:
|
||||
self.emotion.wait(fleet=fleet_index)
|
||||
@ -105,6 +106,9 @@ class Combat(Level, HPBalancer, EnemySearchingHandler, Retirement, SubmarineCall
|
||||
self.hp_balance()
|
||||
|
||||
while 1:
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.appear(BATTLE_PREPARATION):
|
||||
|
||||
@ -34,13 +34,17 @@ class Combat(Combat_, EnemySearchingHandler):
|
||||
fleet_index (int):
|
||||
"""
|
||||
logger.info('Combat preparation.')
|
||||
skip_first_screenshot = True
|
||||
|
||||
if emotion_reduce:
|
||||
self.emotion.wait(fleet=fleet_index)
|
||||
# if emotion_reduce:
|
||||
# self.emotion.wait(fleet=fleet_index)
|
||||
if balance_hp:
|
||||
self.hp_balance()
|
||||
|
||||
while 1:
|
||||
if skip_first_screenshot:
|
||||
skip_first_screenshot = False
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.appear(BATTLE_PREPARATION):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user