Fix: 修复活动图开荒模式下, 普通敌人图标被遮挡时识别为精英的问题

This commit is contained in:
LmeSzinc 2020-04-26 19:16:09 +08:00
parent 9339759197
commit 57f578686e

View File

@ -133,7 +133,7 @@ class GridInfo:
ignore_cleared (bool): Ignore is_cleared property.
"""
for item in ['boss', 'siren']:
if info.enemy_scale:
if info.enemy_scale or self.enemy_scale:
break
if info.__getattribute__('is_' + item):
flag = not info.is_fleet and not self.is_fleet