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

Add: 增加选择敌人类型

- 更改enemy_type为enemy_genre
This commit is contained in:
LmeSzinc
2020-05-23 15:19:56 +08:00
parent eb2a58d7f5
commit aa0e38a28c
6 changed files with 37 additions and 23 deletions

View File

@@ -76,7 +76,8 @@ class SelectedGrids:
for grid in self:
flag = True
for k, v in kwargs.items():
if grid.__getattribute__(k) != v:
grid_v = grid.__getattribute__(k)
if type(grid_v) != type(v) or grid_v != v:
flag = False
if flag:
result.append(grid)