mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-01-08 12:07:36 +08:00
37 lines
853 B
Python
37 lines
853 B
Python
from module.campaign.campaign_base import CampaignBase as CampaignBase_
|
|
|
|
|
|
class CampaignBase(CampaignBase_):
|
|
STAGE_INCREASE = [
|
|
"""
|
|
T1 > T2 > T3 > T4 > T5
|
|
""",
|
|
"""
|
|
TSK1 > TSK2 > TSK3 > TSK4 > TSK5
|
|
""",
|
|
]
|
|
|
|
def campaign_set_chapter_event(self, chapter, mode='normal'):
|
|
self.ui_goto_event()
|
|
self.campaign_ensure_chapter(index=chapter)
|
|
return True
|
|
|
|
def _campaign_get_chapter_index(self, name):
|
|
"""
|
|
Args:
|
|
name (str, int):
|
|
|
|
Returns:
|
|
int
|
|
"""
|
|
if name == 't':
|
|
return 1
|
|
if name == 'tsk':
|
|
return 2
|
|
if name == 'ex_sp':
|
|
return 3
|
|
if name == 'ex_ex':
|
|
return 4
|
|
|
|
return super(CampaignBase, CampaignBase)._campaign_get_chapter_index(name)
|