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

Opt: World-spanning Arclight T4

- Fix: Swiping out of swipe box
This commit is contained in:
LmeSzinc
2021-11-26 14:38:21 +08:00
parent 02f1347737
commit e6ee74b654
2 changed files with 16 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ def random_rectangle_vector_opted(
if whitelist_area:
for area in whitelist_area:
area = area_limit(area, box)
if sum(area_size(area)) > 0:
if all([x > 0 for x in area_size(area)]):
end_point = random_rectangle_point(area)
for _ in range(10):
if in_blacklist(end_point):