1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Add: 增加了血量平衡和低血量撤退的功能

- 修改了年久失修的血量平衡模块
- 修改了拖拽操作
- 修复了12-4练级时, boss刷新后卡住的问题
- 修复了频繁报enemy searching timeout的问题
This commit is contained in:
LmeSzinc
2020-04-07 22:08:06 +08:00
parent 59756c4f2c
commit b6bc70e1c6
9 changed files with 73 additions and 62 deletions

View File

@@ -89,10 +89,10 @@ class Combat(HPBalancer, UrgentCommissionHandler, EnemySearchingHandler, Retirem
"""
logger.info('Combat preparation.')
if emotion_reduce and not self.config.ENABLE_MAP_FLEET_LOCK:
if emotion_reduce:
self.emotion.wait(fleet=fleet_index)
if balance_hp:
self.balance_scout_hp()
self.hp_balance()
# logger.info('start combat')
while 1: