mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 18:20:42 +00:00
FIx 3 Star Asset
This commit is contained in:
parent
4302a66bd7
commit
5f55303421
Binary file not shown.
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 8.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 8.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 8.0 KiB |
@ -13,16 +13,15 @@ MAP.map_data = '''
|
||||
SP -- -- -- -- ME -- ++ MB
|
||||
'''
|
||||
|
||||
MAP.camera_data = ['D2', 'B5', 'H4']
|
||||
MAP.weight_data = """
|
||||
40 40 40 40 40 40 30 40 20
|
||||
40 30 40 10 30 40 40 40 40
|
||||
40 40 30 40 40 40 40 40 40
|
||||
30 30 40 30 30 30 40 10 40
|
||||
30 10 40 40 40 40 40 40 40
|
||||
40 30 40 30 40 40 40 40 40
|
||||
40 40 40 40 40 30 40 40 20
|
||||
"""
|
||||
MAP.spawn_data = [
|
||||
{'battle': 0, 'enemy': 2, 'siren': 3},
|
||||
{'battle': 1, 'enemy': 1},
|
||||
{'battle': 2, 'enemy': 2, 'siren': 2},
|
||||
{'battle': 3, 'enemy': 1},
|
||||
{'battle': 4, 'enemy': 2, 'siren': 1},
|
||||
{'battle': 5, 'enemy': 1},
|
||||
{'battle': 6, 'boss': 1},
|
||||
]
|
||||
|
||||
class Config:
|
||||
SUBMARINE = 1
|
||||
@ -33,9 +32,28 @@ class Config:
|
||||
MAP_HAS_FLEET_STEP = False
|
||||
MAP_HAS_MOVABLE_ENEMY = False
|
||||
MAP_HAS_SIREN = True
|
||||
MAP_HAS_DYNAMIC_RED_BORDER = True
|
||||
MAP_HAS_DYNAMIC_RED_BORDER = False
|
||||
MAP_SIREN_COUNT = 3
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
|
||||
def battle_0(self):
|
||||
if self.clear_siren():
|
||||
return True
|
||||
if self.clear_enemy(scale=(2, 3)):
|
||||
return True
|
||||
|
||||
return self.battle_default()
|
||||
|
||||
def battle_5(self):
|
||||
if self.clear_enemy(scale=(1,)):
|
||||
return True
|
||||
if self.clear_enemy(scale=(2,)):
|
||||
return True
|
||||
|
||||
return self.battle_default()
|
||||
|
||||
def battle_6(self):
|
||||
return self.fleet_2.clear_boss()
|
||||
|
@ -31,9 +31,9 @@ MAP_BUFF = Button(area={'cn': (145, 115, 437, 159), 'en': (145, 115, 437, 159)},
|
||||
MAP_CLEAR_PERCENTAGE = Button(area={'cn': (626, 185, 970, 190), 'en': (626, 185, 970, 190)}, color={'cn': (245, 213, 88), 'en': (245, 213, 88)}, button={'cn': (626, 185, 970, 190), 'en': (626, 185, 970, 190)}, file={'cn': './assets/cn/handler/MAP_CLEAR_PERCENTAGE.png', 'en': './assets/en/handler/MAP_CLEAR_PERCENTAGE.png'})
|
||||
MAP_ENEMY_SEARCHING = Button(area={'cn': (531, 320, 864, 382), 'en': (531, 320, 864, 382)}, color={'cn': (200, 99, 91), 'en': (200, 99, 91)}, button={'cn': (531, 320, 864, 382), 'en': (531, 320, 864, 382)}, file={'cn': './assets/cn/handler/MAP_ENEMY_SEARCHING.png', 'en': './assets/en/handler/MAP_ENEMY_SEARCHING.png'})
|
||||
MAP_GREEN = Button(area={'cn': (195, 260, 349, 292), 'en': (201, 259, 341, 290)}, color={'cn': (125, 190, 84), 'en': (104, 207, 104)}, button={'cn': (195, 260, 349, 292), 'en': (201, 259, 341, 290)}, file={'cn': './assets/cn/handler/MAP_GREEN.png', 'en': './assets/en/handler/MAP_GREEN.png'})
|
||||
MAP_STAR_1 = Button(area={'cn': (245, 377, 254, 384), 'en': (245, 377, 254, 384)}, color={'cn': (251, 233, 143), 'en': (251, 233, 143)}, button={'cn': (245, 377, 254, 384), 'en': (245, 377, 254, 384)}, file={'cn': './assets/cn/handler/MAP_STAR_1.png', 'en': './assets/en/handler/MAP_STAR_1.png'})
|
||||
MAP_STAR_2 = Button(area={'cn': (532, 377, 540, 384), 'en': (532, 377, 540, 384)}, color={'cn': (251, 233, 144), 'en': (251, 233, 144)}, button={'cn': (532, 377, 540, 384), 'en': (532, 377, 540, 384)}, file={'cn': './assets/cn/handler/MAP_STAR_2.png', 'en': './assets/en/handler/MAP_STAR_2.png'})
|
||||
MAP_STAR_3 = Button(area={'cn': (818, 377, 827, 384), 'en': (818, 377, 827, 384)}, color={'cn': (251, 233, 143), 'en': (251, 233, 143)}, button={'cn': (818, 377, 827, 384), 'en': (818, 377, 827, 384)}, file={'cn': './assets/cn/handler/MAP_STAR_3.png', 'en': './assets/en/handler/MAP_STAR_3.png'})
|
||||
MAP_STAR_1 = Button(area={'cn': (245, 377, 254, 384), 'en': (232, 381, 240, 389)}, color={'cn': (251, 233, 143), 'en': (252, 234, 146)}, button={'cn': (245, 377, 254, 384), 'en': (232, 381, 240, 389)}, file={'cn': './assets/cn/handler/MAP_STAR_1.png', 'en': './assets/en/handler/MAP_STAR_1.png'})
|
||||
MAP_STAR_2 = Button(area={'cn': (532, 377, 540, 384), 'en': (518, 382, 526, 389)}, color={'cn': (251, 233, 144), 'en': (252, 234, 144)}, button={'cn': (532, 377, 540, 384), 'en': (518, 382, 526, 389)}, file={'cn': './assets/cn/handler/MAP_STAR_2.png', 'en': './assets/en/handler/MAP_STAR_2.png'})
|
||||
MAP_STAR_3 = Button(area={'cn': (818, 377, 827, 384), 'en': (804, 382, 812, 389)}, color={'cn': (251, 233, 143), 'en': (252, 234, 144)}, button={'cn': (818, 377, 827, 384), 'en': (804, 382, 812, 389)}, file={'cn': './assets/cn/handler/MAP_STAR_3.png', 'en': './assets/en/handler/MAP_STAR_3.png'})
|
||||
MAP_WALK_OUT_OF_STEP = Button(area={'cn': (654, 312, 704, 335), 'en': (654, 312, 704, 335)}, color={'cn': (109, 113, 120), 'en': (109, 113, 120)}, button={'cn': (654, 312, 704, 335), 'en': (654, 312, 704, 335)}, file={'cn': './assets/cn/handler/MAP_WALK_OUT_OF_STEP.png', 'en': './assets/en/handler/MAP_WALK_OUT_OF_STEP.png'})
|
||||
MYSTERY_ITEM = Button(area={'cn': (589, 294, 691, 427), 'en': (589, 294, 691, 427)}, color={'cn': (144, 127, 83), 'en': (144, 127, 83)}, button={'cn': (589, 294, 691, 427), 'en': (589, 294, 691, 427)}, file={'cn': './assets/cn/handler/MYSTERY_ITEM.png', 'en': './assets/en/handler/MYSTERY_ITEM.png'})
|
||||
POPUP_CANCEL = Button(area={'cn': (404, 493, 576, 550), 'en': (378, 452, 544, 510)}, color={'cn': (166, 169, 172), 'en': (168, 170, 172)}, button={'cn': (404, 493, 576, 550), 'en': (378, 452, 544, 510)}, file={'cn': './assets/cn/handler/POPUP_CANCEL.png', 'en': './assets/en/handler/POPUP_CANCEL.png'})
|
||||
|
Loading…
Reference in New Issue
Block a user