1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 17:57:01 +08:00

Revert "Add: [CN] Spring Auction Adventure (raid_20260212)"

This reverts commit c4961c80eb.
This commit is contained in:
sui-feng-cb
2026-02-14 12:25:42 +08:00
parent 95c1128c73
commit 44eb4dbcf2
49 changed files with 696 additions and 726 deletions

View File

@@ -84,8 +84,6 @@ def raid_name_shorten(name):
return 'CHIENWU'
elif name == 'raid_20250327':
return 'HOSPITAL'
elif name == 'raid_20260212':
return 'CHANGWU'
else:
raise ScriptError(f'Unknown raid name: {name}')
@@ -161,11 +159,6 @@ def raid_ocr(raid, mode):
return Digit(button, letter=(247, 223, 222), threshold=128)
else:
return DigitCounter(button, letter=(0, 0, 0), threshold=128)
elif raid == 'CHANGWU':
if mode == 'ex':
return Digit(button, letter=(255, 239, 215), threshold=128)
else:
return DigitCounter(button, letter=(154, 148, 133), threshold=128)
def pt_ocr(raid):
@@ -195,8 +188,8 @@ def pt_ocr(raid):
return HuanChangPtOcr(button, letter=(23, 20, 6), threshold=128)
elif raid == 'CHIENWU':
return Digit(button, letter=(255, 231, 231), threshold=128)
elif raid == 'CHANGWU':
return Digit(button, letter=(255, 239, 215), threshold=128)
elif raid == 'HOSPITAL':
return Digit(button, letter=(255, 251, 255), threshold=128)
class Raid(MapOperation, RaidCombat, CampaignEvent):
@@ -206,10 +199,7 @@ class Raid(MapOperation, RaidCombat, CampaignEvent):
Game devs are too asshole to drop oil display for UI design
https://github.com/LmeSzinc/AzurLaneAutoScript/issues/5214
"""
if self.config.Campaign_Event in [
'raid_20240328',
'raid_20260212',
]:
if self.config.Campaign_Event == 'raid_20240328':
return False
return True