mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Fix: Increase interval of exercise timer
- Fix 10-2 map logic
This commit is contained in:
@@ -3,7 +3,6 @@ from module.exercise.assets import *
|
||||
from module.exercise.equipment import ExerciseEquipment
|
||||
from module.exercise.hp_daemon import HpDaemon
|
||||
from module.exercise.opponent import OpponentChoose, OPPONENT
|
||||
from module.ui.assets import BACK_ARROW
|
||||
|
||||
|
||||
class ExerciseCombat(HpDaemon, OpponentChoose, ExerciseEquipment):
|
||||
@@ -102,8 +101,8 @@ class ExerciseCombat(HpDaemon, OpponentChoose, ExerciseEquipment):
|
||||
index (int): From left to right. 0 to 3.
|
||||
"""
|
||||
logger.hr('Opponent: %s' % str(index))
|
||||
opponent_timer = Timer(1)
|
||||
preparation_timer = Timer(1)
|
||||
opponent_timer = Timer(5)
|
||||
preparation_timer = Timer(5)
|
||||
|
||||
while 1:
|
||||
self.device.screenshot()
|
||||
|
||||
@@ -6,7 +6,7 @@ from module.exercise.assets import *
|
||||
|
||||
class ExerciseEquipment(Equipment):
|
||||
def _active_edit(self):
|
||||
timer = Timer(1)
|
||||
timer = Timer(5)
|
||||
while 1:
|
||||
self.device.screenshot()
|
||||
|
||||
@@ -19,7 +19,7 @@ class ExerciseEquipment(Equipment):
|
||||
break
|
||||
|
||||
def _inactive_edit(self):
|
||||
timer = Timer(1)
|
||||
timer = Timer(5)
|
||||
while 1:
|
||||
self.device.screenshot()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user