Opt(eventForward):调整活动刷PT选项的逻辑

This commit is contained in:
POLAR me 2025-04-25 04:22:42 +08:00
parent 7986d4c04c
commit ce9841f22b
13 changed files with 538 additions and 91 deletions

View File

@ -81,7 +81,9 @@ class Config:
MAP_SWIPE_MULTIPLY = (1.124, 1.145)
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.087, 1.107)
MAP_SWIPE_MULTIPLY_MAATOUCH = (1.055, 1.074)
STAGE_INCREASE_CUSTOM = [
'h1 > h2 > h3 > ht1 > ht2 > ht3',
]
class Campaign(CampaignBase):
MAP = MAP

View File

@ -80,7 +80,9 @@ class Config:
MAP_SWIPE_MULTIPLY = (1.124, 1.145)
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.087, 1.107)
MAP_SWIPE_MULTIPLY_MAATOUCH = (1.055, 1.074)
STAGE_INCREASE_CUSTOM = [
'h1 > h2 > h3 > ht1 > ht2 > ht3',
]
class Campaign(CampaignBase):
MAP = MAP

View File

@ -184,7 +184,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -259,7 +261,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -334,7 +338,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -416,7 +422,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -473,7 +481,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "ht3",
"EventAMapName": null,
"ReachLevel": 0
},
"Fleet": {
@ -548,7 +558,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -623,7 +635,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -702,7 +716,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Emotion": {
@ -741,7 +757,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Emotion": {
@ -791,7 +809,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1>A2>A3\nB1>B2>B3",
"ReachLevel": 0
},
"Emotion": {
@ -852,7 +872,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -932,7 +954,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -1012,7 +1036,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -1092,7 +1118,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -1172,7 +1200,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -1252,7 +1282,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Fleet": {
@ -1330,7 +1362,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Emotion": {
@ -1380,7 +1414,9 @@
"MapAchievement": "non_stop",
"StageIncrease": false,
"GetNewShip": false,
"EventSwitch": false,
"EventSwitch": "none",
"Event2MapName": "D3",
"EventAMapName": "A1",
"ReachLevel": 0
},
"Emotion": {

View File

@ -784,8 +784,24 @@
"value": false
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -1166,8 +1182,24 @@
"value": false
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -1548,8 +1580,24 @@
"value": false
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -2065,8 +2113,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -2407,8 +2471,24 @@
"value": false
},
"EventSwitch": {
"type": "checkbox",
"value": false
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
]
},
"Event2MapName": {
"type": "state",
"value": "ht3",
"display": "display"
},
"EventAMapName": {
"type": "state",
"value": null,
"display": "display"
},
"ReachLevel": {
"type": "input",
@ -2870,8 +2950,24 @@
"value": false
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -3334,8 +3430,24 @@
"value": false
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -3757,8 +3869,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -3936,8 +4064,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -4187,8 +4331,22 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
]
},
"Event2MapName": {
"type": "textarea",
"value": "D3"
},
"EventAMapName": {
"type": "textarea",
"value": "A1>A2>A3\nB1>B2>B3"
},
"ReachLevel": {
"type": "input",
@ -4489,8 +4647,24 @@
"value": false
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -4973,8 +5147,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -5458,8 +5648,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -5943,8 +6149,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -6428,8 +6650,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -6913,8 +7151,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -7329,8 +7583,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {
@ -7580,8 +7850,24 @@
"display": "hide"
},
"EventSwitch": {
"type": "checkbox",
"value": false,
"type": "select",
"value": "none",
"option": [
"none",
"event2",
"event2_and_daily",
"event2_and_daily_fork"
],
"display": "hide"
},
"Event2MapName": {
"type": "textarea",
"value": "D3",
"display": "hide"
},
"EventAMapName": {
"type": "textarea",
"value": "A1",
"display": "hide"
},
"ReachLevel": {

View File

@ -235,7 +235,17 @@ StopCondition:
option: [ non_stop, 100_percent_clear, map_3_stars, threat_safe, threat_safe_without_3_stars ]
StageIncrease: false
GetNewShip: false
EventSwitch: false
EventSwitch:
value: none
option: [ none, event2, event2_and_daily, event2_and_daily_fork]
Event2MapName:
value: D3
type: textarea
EventAMapName:
value: |-
A1>A2>A3
B1>B2>B3
type: textarea
ReachLevel: 0
Fleet:
Fleet1:

View File

@ -21,17 +21,23 @@ Main:
Campaign:
Event: campaign_main
StopCondition:
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Main2:
Campaign:
Event: campaign_main
StopCondition:
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Main3:
Campaign:
Event: campaign_main
StopCondition:
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
GemsFarming:
Campaign:
Event:
@ -47,7 +53,9 @@ GemsFarming:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Fleet:
FleetOrder:
display: display
@ -62,6 +70,15 @@ Event:
Event:
type: state
AmbushEvade: true
StopCondition:
Event2MapName:
value: ht3
type: state
display: display
EventAMapName:
value: null
type: state
display: display
Event2:
Campaign:
Mode: normal
@ -69,7 +86,9 @@ Event2:
type: state
AmbushEvade: true
StopCondition:
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Event3:
Campaign:
Mode: normal
@ -77,7 +96,9 @@ Event3:
type: state
AmbushEvade: true
StopCondition:
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
EventA:
Scheduler:
SuccessInterval: 30
@ -96,7 +117,9 @@ EventA:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
EventB:
Scheduler:
SuccessInterval: 30
@ -115,7 +138,9 @@ EventB:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
EventC:
Scheduler:
SuccessInterval: 30
@ -134,7 +159,9 @@ EventC:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
EventD:
Scheduler:
SuccessInterval: 30
@ -153,7 +180,9 @@ EventD:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
EventSp:
Scheduler:
SuccessInterval: 30
@ -172,7 +201,9 @@ EventSp:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Submarine:
AutoSearchMode: sub_standby
Raid:
@ -191,7 +222,9 @@ Raid:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Emotion:
Fleet2Value: 119
Fleet2Record: 2020-01-01 00:00:00
@ -205,7 +238,9 @@ Hospital:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Emotion:
Fleet1Control: prevent_yellow_face
Fleet1Recover: not_in_dormitory
@ -236,7 +271,9 @@ RaidDaily:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Emotion:
Fleet2Value: 119
Fleet2Record: 2020-01-01 00:00:00
@ -299,7 +336,9 @@ CoalitionSp:
StageIncrease: false
GetNewShip: false
ReachLevel: 0
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
Emotion:
Fleet2Value: 119
Fleet2Record: 2020-01-01 00:00:00
@ -416,7 +455,9 @@ WarArchives:
Mode: normal
AmbushEvade: true
StopCondition:
EventSwitch: false
EventSwitch: none
Event2MapName: D3
EventAMapName: A1
# ==================== Opsi ====================

View File

@ -160,7 +160,9 @@ class GeneratedConfig:
StopCondition_MapAchievement = 'non_stop' # non_stop, 100_percent_clear, map_3_stars, threat_safe, threat_safe_without_3_stars
StopCondition_StageIncrease = False
StopCondition_GetNewShip = False
StopCondition_EventSwitch = False
StopCondition_EventSwitch = 'none' # none, event2, event2_and_daily, event2_and_daily_fork
StopCondition_Event2MapName = 'D3'
StopCondition_EventAMapName = 'A1>A2>A3\nB1>B2>B3'
StopCondition_ReachLevel = 0
# Group `Fleet`

View File

@ -174,12 +174,25 @@ class ConfigGenerator:
"""
# Construct args
data = {}
# Add dashboard to args
dashboard_and_task = {**self.dashboard,**self.task}
for path, groups in deep_iter(dashboard_and_task, depth=3):
if 'tasks' not in path and 'Dashboard' not in path:
for dashboard_key, dashboard_groups in self.dashboard.items():
if isinstance(dashboard_groups, list):
task = dashboard_key
# Add storage to dashboard task
if 'Storage' not in dashboard_groups:
dashboard_groups.append('Storage')
for group in dashboard_groups:
if group not in self.argument:
print(f'`{task}.{group}` is not related to any argument group')
continue
deep_set(data, keys=[task, group], value=deepcopy(self.argument[group]))
# Add task to args
for path, groups in deep_iter(self.task, depth=3):
if 'tasks' not in path:
continue
task = path[2] if 'tasks' in path else path[0]
task = path[2]
# Add storage to all task
groups.append('Storage')
for group in groups:

View File

@ -1136,7 +1136,19 @@
},
"EventSwitch": {
"name": "StopCondition.EventSwitch.name",
"help": "StopCondition.EventSwitch.help"
"help": "StopCondition.EventSwitch.help",
"none": "none",
"event2": "event2",
"event2_and_daily": "event2_and_daily",
"event2_and_daily_fork": "event2_and_daily_fork"
},
"Event2MapName": {
"name": "StopCondition.Event2MapName.name",
"help": "StopCondition.Event2MapName.help"
},
"EventAMapName": {
"name": "StopCondition.EventAMapName.name",
"help": "StopCondition.EventAMapName.help"
},
"ReachLevel": {
"name": "Level X Reached",

View File

@ -1136,7 +1136,19 @@
},
"EventSwitch": {
"name": "StopCondition.EventSwitch.name",
"help": "StopCondition.EventSwitch.help"
"help": "StopCondition.EventSwitch.help",
"none": "none",
"event2": "event2",
"event2_and_daily": "event2_and_daily",
"event2_and_daily_fork": "event2_and_daily_fork"
},
"Event2MapName": {
"name": "StopCondition.Event2MapName.name",
"help": "StopCondition.Event2MapName.help"
},
"EventAMapName": {
"name": "StopCondition.EventAMapName.name",
"help": "StopCondition.EventAMapName.help"
},
"ReachLevel": {
"name": "StopCondition.ReachLevel.name",

View File

@ -1136,7 +1136,19 @@
},
"EventSwitch": {
"name": "刷活动PT",
"help": "开荒完毕后开启活动图每日和活动图2刷pt"
"help": "开荒完毕后开启活动图每日和活动图2刷pt",
"none": "否",
"event2": "活动图2",
"event2_and_daily": "活动图2和活动每日",
"event2_and_daily_fork": "活动图2和活动每日(复刻)"
},
"Event2MapName": {
"name": "刷pt关卡名称",
"help": ""
},
"EventAMapName": {
"name": "每日活动图关卡顺序",
"help": ""
},
"ReachLevel": {
"name": "舰船升至 X 级后停止",

View File

@ -1136,7 +1136,19 @@
},
"EventSwitch": {
"name": "StopCondition.EventSwitch.name",
"help": "StopCondition.EventSwitch.help"
"help": "StopCondition.EventSwitch.help",
"none": "none",
"event2": "event2",
"event2_and_daily": "event2_and_daily",
"event2_and_daily_fork": "event2_and_daily_fork"
},
"Event2MapName": {
"name": "StopCondition.Event2MapName.name",
"help": "StopCondition.Event2MapName.help"
},
"EventAMapName": {
"name": "StopCondition.EventAMapName.name",
"help": "StopCondition.EventAMapName.help"
},
"ReachLevel": {
"name": "艦船升至 X 級後停止",

View File

@ -418,7 +418,7 @@ class FastForwardHandler(AutoSearchHandler):
)
self.config.Scheduler_Enable = False
# logger.warning(f'{self.config.StopCondition_EventSwitch}')
if self.config.task.command == 'Event'and self.config.StopCondition_EventSwitch == True:
if self.config.task.command == 'Event'and self.config.StopCondition_EventSwitch != 'none':
# logger.warning(f'{self.config.task.command}')
KEYS = ['.Fleet.Fleet1','.Fleet.Fleet2','.Fleet.FleetOrder','.Emotion.Fleet1Record','.Emotion.Fleet1Recover','.Emotion.Fleet2Record','.Emotion.Fleet2Recover',]
for key in KEYS:#只传舰队和心情恢复情况,不传心情值
@ -435,17 +435,24 @@ class FastForwardHandler(AutoSearchHandler):
self.config.cross_set(keys=f'EventD{key}', value=f'{data}')
self.config.cross_set(keys=f'Event2{key}', value=f'{data}')
logger.hr(f"copy:{key},{data}")
eventDailyStageFilter_A = "A1>A2>A3 >B1>B2>B3"
event2MapName = "D3"
eventDailyStageFilter_A = self.config.StopCondition_EventAMapName
event2MapName = self.config.StopCondition_Event2MapName
self.config.cross_set(keys=f'EventA.EventDaily.StageFilter', value=f'{eventDailyStageFilter_A}') #ab图一般用同一队,所以为了心情同步用同一队
self.config.cross_set(keys=f'Event2.Campaign.Name',value = f'{event2MapName}')
self.config.cross_set(keys=f'EventSp.EventDaily.StageFilter',value = f'SP')
self.config.task_call('EventA')
# self.config.task_call('EventB')
self.config.task_call('EventC') #######复刻活动开/新活动关
self.config.task_call('EventD') #######复刻活动开/新活动关
self.config.task_call('EventSp')
self.config.task_call('Event2')
if self.config.StopCondition_EventSwitch == 'event2':
self.config.task_call('Event2')
elif self.config.StopCondition_EventSwitch == 'event2_and_daily':
self.config.task_call('Event2')
self.config.task_call('EventA')
self.config.task_call('EventSp')
elif self.config.StopCondition_EventSwitch == 'event2_and_daily_fork':
self.config.task_call('Event2')
self.config.task_call('EventA')
self.config.task_call('EventC')
self.config.task_call('EventD')
self.config.task_call('EventSp')
# logger.info(f"{self.config.Fleet_FleetOrder},{self.config.Emotion_Fleet1Value},{self.config.Emotion_Fleet1Recover}")