mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Add: Clear one abyssal coordinate
- Fix: Divided by 0 in limit_walk() - Fix: Taking drop screenshots in abyssal battles
This commit is contained in:
@@ -16,7 +16,9 @@ from module.os_combat.combat import Combat
|
||||
|
||||
def limit_walk(location, step=3):
|
||||
x, y = location
|
||||
return min(abs(x), step - abs(y)) * x // abs(x), y
|
||||
if abs(x) > 0:
|
||||
x = min(abs(x), step - abs(y)) * x // abs(x)
|
||||
return x, y
|
||||
|
||||
|
||||
class OSFleet(OSCamera, Combat, Fleet, OSAsh):
|
||||
|
||||
Reference in New Issue
Block a user