mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-07-18 12:38:53 +08:00
@@ -32,10 +32,25 @@ class Filter:
|
|||||||
˃ \u02c3
|
˃ \u02c3
|
||||||
ᐳ \u1433
|
ᐳ \u1433
|
||||||
❯ \u276F
|
❯ \u276F
|
||||||
|
|
||||||
|
And tons of unicode characters similar to "-"
|
||||||
|
- \u002D correct
|
||||||
|
‐ \u2010
|
||||||
|
‑ \u2011
|
||||||
|
‒ \u2012
|
||||||
|
– \u2013
|
||||||
|
— \u2014
|
||||||
|
― \u2015
|
||||||
|
− \u2212
|
||||||
|
- \uFF0D
|
||||||
|
﹣ \uFE63
|
||||||
|
﹘ \uFE58
|
||||||
|
⁃ \u2043
|
||||||
"""
|
"""
|
||||||
string = str(string)
|
string = str(string)
|
||||||
string = re.sub(r'[ \t\r\n]', '', string)
|
string = re.sub(r'[ \t\r\n]', '', string)
|
||||||
string = re.sub(r'[>﹥›˃ᐳ❯]', '>', string)
|
string = re.sub(r'[>﹥›˃ᐳ❯]', '>', string)
|
||||||
|
string = re.sub(r'[‐‑‒–—―−-﹣﹘⁃]', '-', string)
|
||||||
self.filter_raw = string.split('>')
|
self.filter_raw = string.split('>')
|
||||||
self.filter = [self.parse_filter(f) for f in self.filter_raw]
|
self.filter = [self.parse_filter(f) for f in self.filter_raw]
|
||||||
|
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ class GemsFarming(CampaignRun, Dock):
|
|||||||
list[Ship]: Common rarity CVs that meet the level, emotion and fleet requirements.
|
list[Ship]: Common rarity CVs that meet the level, emotion and fleet requirements.
|
||||||
"""
|
"""
|
||||||
self.dock_favourite_set(False, wait_loading=False)
|
self.dock_favourite_set(False, wait_loading=False)
|
||||||
self.dock_sort_method_dsc_set(True, wait_loading=False)
|
self.dock_sort_method_dsc_set(False, wait_loading=False)
|
||||||
self.dock_filter_set(index='cv', rarity='common', extra='enhanceable', sort='total')
|
self.dock_filter_set(index='cv', rarity='common', extra='enhanceable', sort='total')
|
||||||
|
|
||||||
logger.hr('FINDING FLAGSHIP')
|
logger.hr('FINDING FLAGSHIP')
|
||||||
|
|||||||
Reference in New Issue
Block a user