mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Fix: Handle empty HP when using emergency repair (#2925)
This commit is contained in:
@@ -332,6 +332,9 @@ class Fleet(Camera, AmbushHandler):
|
||||
|
||||
if self.catch_camera_repositioning(self.map[location]):
|
||||
self.handle_boss_appear_refocus()
|
||||
if sum(self.hp) < 0.01:
|
||||
logger.warning('Empty HP on all slots, trying hp_get again')
|
||||
self.hp_get()
|
||||
if self.config.MAP_FOCUS_ENEMY_AFTER_BATTLE:
|
||||
self.camera = location
|
||||
self.update()
|
||||
|
||||
Reference in New Issue
Block a user