mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Add: 适配了活动微层混合D3
- 修改了GUI的活动图入口 - 修正了UI_MASK文件 - 修改舰队识别, boss识别方式为模板匹配 - 修改当前舰队识别的色相阈值 - 增加了对boss右下角小图标的识别 - 修改了错误格子的修正方法, 若当列格子数量不足, 将被剔除 - 修复了退役后不会快速重新进入战斗的问题
This commit is contained in:
@@ -126,7 +126,7 @@ class GridInfo:
|
||||
# failure = 0
|
||||
for item in ['boss', 'siren']:
|
||||
if info.__getattribute__('is_' + item):
|
||||
if self.__getattribute__('may_' + item):
|
||||
if self.__getattribute__('may_' + item) and not self.is_cleared:
|
||||
self.__setattr__('is_' + item, True)
|
||||
return True
|
||||
else:
|
||||
@@ -137,6 +137,8 @@ class GridInfo:
|
||||
self.is_enemy = True
|
||||
self.enemy_scale = info.enemy_scale
|
||||
self.enemy_type = info.enemy_type
|
||||
if self.may_siren:
|
||||
self.is_siren = True
|
||||
return True
|
||||
|
||||
for item in ['mystery', 'ammo']:
|
||||
|
||||
Reference in New Issue
Block a user