mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 12:47:32 +08:00
Chore: Log battle UI theme
This commit is contained in:
parent
76fcfdf42a
commit
62b3bd1390
@ -237,7 +237,9 @@ class AutoSearchCombat(MapOperation, Combat, CampaignStatus):
|
|||||||
# End
|
# End
|
||||||
if self.is_in_auto_search_menu() or self._handle_auto_search_menu_missing():
|
if self.is_in_auto_search_menu() or self._handle_auto_search_menu_missing():
|
||||||
raise CampaignEnd
|
raise CampaignEnd
|
||||||
if self.is_combat_executing():
|
pause = self.is_combat_executing()
|
||||||
|
if pause:
|
||||||
|
logger.attr('BattleUI', pause)
|
||||||
break
|
break
|
||||||
|
|
||||||
logger.info('Auto Search combat execute')
|
logger.info('Auto Search combat execute')
|
||||||
|
@ -183,7 +183,9 @@ class Combat(Level, HPBalancer, Retirement, SubmarineCall, CombatAuto, CombatMan
|
|||||||
interval_set = True
|
interval_set = True
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.is_combat_executing():
|
pause = self.is_combat_executing()
|
||||||
|
if pause:
|
||||||
|
logger.attr('BattleUI', pause)
|
||||||
if emotion_reduce:
|
if emotion_reduce:
|
||||||
self.emotion.reduce(fleet_index)
|
self.emotion.reduce(fleet_index)
|
||||||
break
|
break
|
||||||
|
@ -29,7 +29,9 @@ class ExerciseCombat(HpDaemon, OpponentChoose, ExerciseEquipment, Combat):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.is_combat_executing():
|
pause = self.is_combat_executing()
|
||||||
|
if pause:
|
||||||
|
logger.attr('BattleUI', pause)
|
||||||
break
|
break
|
||||||
|
|
||||||
def _combat_execute(self):
|
def _combat_execute(self):
|
||||||
|
@ -477,7 +477,9 @@ class GuildOperations(GuildBase):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if az.is_combat_executing():
|
pause = az.is_combat_executing()
|
||||||
|
if pause:
|
||||||
|
logger.attr('BattleUI', pause)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def _guild_operations_boss_combat(self):
|
def _guild_operations_boss_combat(self):
|
||||||
|
@ -76,7 +76,9 @@ class Combat(Combat_, MapEventHandler):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.is_combat_executing():
|
pause = self.is_combat_executing()
|
||||||
|
if pause:
|
||||||
|
logger.attr('BattleUI', pause)
|
||||||
# if emotion_reduce:
|
# if emotion_reduce:
|
||||||
# self.emotion.reduce(fleet_index)
|
# self.emotion.reduce(fleet_index)
|
||||||
break
|
break
|
||||||
@ -235,7 +237,9 @@ class Combat(Combat_, MapEventHandler):
|
|||||||
# End
|
# End
|
||||||
if self.handle_os_auto_search_map_option(drop=drop):
|
if self.handle_os_auto_search_map_option(drop=drop):
|
||||||
break
|
break
|
||||||
if self.is_combat_executing():
|
pause = self.is_combat_executing()
|
||||||
|
if pause:
|
||||||
|
logger.attr('BattleUI', pause)
|
||||||
break
|
break
|
||||||
if self.is_in_map():
|
if self.is_in_map():
|
||||||
break
|
break
|
||||||
|
@ -238,7 +238,9 @@ class Raid(MapOperation, RaidCombat, CampaignEvent):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# End
|
# End
|
||||||
if self.is_combat_executing():
|
pause = self.is_combat_executing()
|
||||||
|
if pause:
|
||||||
|
logger.attr('BattleUI', pause)
|
||||||
if emotion_reduce:
|
if emotion_reduce:
|
||||||
self.emotion.reduce(fleet_index)
|
self.emotion.reduce(fleet_index)
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user