mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-20 04:54:53 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -41,6 +41,13 @@ class MetaDigitCounter(DigitCounter):
|
||||
if re.match(r'^[0123]3$', result):
|
||||
result = f'{result[0]}/{result[1]}'
|
||||
|
||||
# 1/40/1400 -> 140/1400
|
||||
for suffix in ['/1400', '/200']:
|
||||
if result.endswith(suffix):
|
||||
point = result[:-len(suffix)]
|
||||
point = point.replace('/', '')
|
||||
result = point + suffix
|
||||
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user