1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-23 16:45:56 +08:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
SevCrane
2024-06-22 20:49:14 +08:00
15 changed files with 59 additions and 58 deletions

View File

@@ -196,4 +196,5 @@ To add a new event, add a new row in here, and run `python -m module.config.conf
| 20240509 | event 20210916 cn | Upon the Shimmering Blue | - | - | - | 復刻碧海光粼 |
| 20240521 | event 20240521 cn | Light of the Martyrium | 绽放于辉光之城 | Light of the Martyrium | 赫輝のマルティリウム | - |
| 20240523 | event 20230525 cn | Confluence of Nothingness | - | - | - | 空相交會點 |
| 20240613 | event 20201012 cn | Sundered Blue | - | - | - | 復刻劃破海空之翼 |
| 20240613 | event 20201012 cn | Sundered Blue | - | - | - | 復刻劃破海空之翼 |
| 20240620 | event 20220428 cn | Rondo at Rainbow's End Rerun | 复刻虹彩的终幕曲 | Rondo at Rainbow's End Rerun | 吟ずる瑠璃の楽章(復刻) | - |

View File

@@ -1,4 +1,4 @@
from module.campaign.campaign_base import CampaignBase
from .campaign_base import CampaignBase
from module.map.map_base import CampaignMap
from module.map.map_grids import SelectedGrids, RoadGrids
from module.logger import logger
@@ -74,6 +74,7 @@ class Config:
'distance': 50,
'wlen': 1000
}
HOMO_CANNY_THRESHOLD = (50, 75)
HOMO_EDGE_COLOR_RANGE = (0, 49)
HOMO_EDGE_HOUGHLINES_THRESHOLD = 300
MAP_SWIPE_MULTIPLY = (1.131, 1.152)

View File

@@ -1,4 +1,4 @@
from module.campaign.campaign_base import CampaignBase
from .campaign_base import CampaignBase
from module.map.map_base import CampaignMap
from module.map.map_grids import SelectedGrids, RoadGrids
from module.logger import logger

View File

@@ -1,4 +1,4 @@
from module.campaign.campaign_base import CampaignBase
from .campaign_base import CampaignBase
from module.map.map_base import CampaignMap
from module.map.map_grids import SelectedGrids, RoadGrids
from module.logger import logger

View File

@@ -89,6 +89,7 @@ class Config:
'distance': 50,
'wlen': 1000
}
HOMO_CANNY_THRESHOLD = (50, 75)
HOMO_EDGE_COLOR_RANGE = (0, 49)
HOMO_EDGE_HOUGHLINES_THRESHOLD = 300
MAP_ENSURE_EDGE_INSIGHT_CORNER = 'bottom-right'

View File

@@ -75,6 +75,7 @@ class Config:
# 'width': (0, 7),
'wlen': 1000
}
HOMO_CANNY_THRESHOLD = (50, 75)
HOMO_EDGE_COLOR_RANGE = (0, 33)
HOMO_EDGE_HOUGHLINES_THRESHOLD = 300
MAP_SWIPE_MULTIPLY = (1.131, 1.152)

View File

@@ -0,0 +1,10 @@
from module.campaign.campaign_base import CampaignBase as CampaignBase_
from module.ui.page import page_event
class CampaignBase(CampaignBase_):
def handle_exp_info(self):
# Random background of chapter A hits EXP_INFO_B
if self.ui_page_appear(page_event):
return False
return super().handle_exp_info()

View File

@@ -89,6 +89,7 @@ class Config:
'distance': 50,
'wlen': 1000
}
HOMO_CANNY_THRESHOLD = (50, 75)
HOMO_EDGE_COLOR_RANGE = (0, 33)
HOMO_EDGE_HOUGHLINES_THRESHOLD = 300
MAP_ENSURE_EDGE_INSIGHT_CORNER = 'bottom-right'

View File

@@ -75,6 +75,7 @@ class Config:
'distance': 50,
'wlen': 1000
}
HOMO_CANNY_THRESHOLD = (50, 75)
HOMO_EDGE_COLOR_RANGE = (0, 33)
HOMO_EDGE_HOUGHLINES_THRESHOLD = 300
MAP_ENSURE_EDGE_INSIGHT_CORNER = 'bottom'