mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Add: Attack abyssal boss
This commit is contained in:
@@ -12,7 +12,7 @@ def location_ensure(location):
|
||||
Returns:
|
||||
tuple(int): Location, such as (4, 3)
|
||||
"""
|
||||
if isinstance(location, GridInfo):
|
||||
if hasattr(location, 'location'):
|
||||
return location.location
|
||||
elif isinstance(location, str):
|
||||
return node2location(location)
|
||||
|
||||
Reference in New Issue
Block a user