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