2020-03-28 17:22:46 +00:00
|
|
|
dic_bool = {
|
|
|
|
'yes': True,
|
|
|
|
'no': False,
|
|
|
|
'do_not_use': False,
|
|
|
|
}
|
|
|
|
dic_emotion_limit = {
|
|
|
|
'keep_high_emotion': 120,
|
|
|
|
'avoid_green_face': 40,
|
|
|
|
'avoid_yellow_face': 30,
|
|
|
|
'avoid_red_face': 2,
|
|
|
|
}
|
|
|
|
dic_emotion_recover = {
|
|
|
|
'not_in_dormitory': 20,
|
|
|
|
'dormitory_floor_1': 40,
|
|
|
|
'dormitory_floor_2': 50,
|
|
|
|
}
|
|
|
|
dic_daily = {
|
|
|
|
'daily_air': 1,
|
|
|
|
'daily_gun': 2,
|
|
|
|
'daily_torpedo': 3,
|
2020-04-14 09:47:26 +00:00
|
|
|
'index_1': 1,
|
|
|
|
'index_2': 2,
|
|
|
|
'index_3': 3,
|
2020-03-28 17:22:46 +00:00
|
|
|
}
|
2020-05-27 13:32:05 +00:00
|
|
|
dic_true_eng_to_eng = {
|
|
|
|
# Function
|
|
|
|
'setting': 'setting',
|
|
|
|
'reward': 'reward',
|
|
|
|
'emulator': 'emulator',
|
|
|
|
'daily': 'daily',
|
|
|
|
'event_daily_ab': 'event_daily_ab',
|
|
|
|
'main': 'main',
|
|
|
|
'event': 'event',
|
|
|
|
'semi_auto': 'semi_auto',
|
2020-05-27 21:51:05 +00:00
|
|
|
'c7-2_mystery_farming': 'c72_mystery_farming',
|
|
|
|
'c12-2_leveling': 'c122_leveling',
|
|
|
|
'c12-4_leveling': 'c124_leveling',
|
2020-05-27 13:32:05 +00:00
|
|
|
|
|
|
|
# Argument
|
|
|
|
'enable_stop_condition': 'enable_stop_condition',
|
|
|
|
'enable_fast_forward': 'enable_fast_forward',
|
|
|
|
'if_count_greater_than': 'if_count_greater_than',
|
|
|
|
'if_time_reach': 'if_time_reach',
|
|
|
|
'if_oil_lower_than': 'if_oil_lower_than',
|
|
|
|
'if_trigger_emotion_control': 'if_trigger_emotion_control',
|
|
|
|
'if_dock_full': 'if_dock_full',
|
|
|
|
'enable_fleet_control': 'enable_fleet_control',
|
|
|
|
'enable_map_fleet_lock': 'enable_map_fleet_lock',
|
|
|
|
'fleet_index_1': 'fleet_index_1',
|
|
|
|
'fleet_formation_1': 'fleet_formation_1',
|
|
|
|
'fleet_step_1': 'fleet_step_1',
|
|
|
|
'fleet_index_2': 'fleet_index_2',
|
|
|
|
'fleet_formation_2': 'fleet_formation_2',
|
|
|
|
'fleet_step_2': 'fleet_step_2',
|
|
|
|
'fleet_index_3': 'fleet_index_3',
|
|
|
|
'fleet_formation_3': 'fleet_formation_3',
|
|
|
|
'fleet_step_3': 'fleet_step_3',
|
|
|
|
'combat_auto_mode': 'combat_auto_mode',
|
|
|
|
'fleet_index_4': 'fleet_index_4',
|
|
|
|
'submarine_mode': 'submarine_mode',
|
|
|
|
'enable_emotion_reduce': 'enable_emotion_reduce',
|
|
|
|
'ignore_low_emotion_warn': 'ignore_low_emotion_warn',
|
|
|
|
'emotion_recover_1': 'emotion_recover_1',
|
|
|
|
'emotion_control_1': 'emotion_control_1',
|
|
|
|
'hole_fleet_married_1': 'hole_fleet_married_1',
|
|
|
|
'emotion_recover_2': 'emotion_recover_2',
|
|
|
|
'emotion_control_2': 'emotion_control_2',
|
|
|
|
'hole_fleet_married_2': 'hole_fleet_married_2',
|
|
|
|
'emotion_recover_3': 'emotion_recover_3',
|
|
|
|
'emotion_control_3': 'emotion_control_3',
|
|
|
|
'hole_fleet_married_3': 'hole_fleet_married_3',
|
|
|
|
'enable_hp_balance': 'enable_hp_balance',
|
|
|
|
'enable_low_hp_withdraw': 'enable_low_hp_withdraw',
|
|
|
|
'scout_hp_difference_threshold': 'scout_hp_difference_threshold',
|
|
|
|
'scout_hp_weights': 'scout_hp_weights',
|
|
|
|
'emergency_repair_single_threshold': 'emergency_repair_single_threshold',
|
|
|
|
'emergency_repair_hole_threshold': 'emergency_repair_hole_threshold',
|
|
|
|
'low_hp_withdraw_threshold': 'low_hp_withdraw_threshold',
|
|
|
|
'enable_retirement': 'enable_retirement',
|
|
|
|
'use_one_click_retirement': 'use_one_click_retirement',
|
|
|
|
'retire_mode': 'retire_mode',
|
|
|
|
'retire_n': 'retire_n',
|
|
|
|
'retire_r': 'retire_r',
|
|
|
|
'retire_sr': 'retire_sr',
|
|
|
|
'retire_ssr': 'retire_ssr',
|
|
|
|
'enable_drop_screenshot': 'enable_drop_screenshot',
|
|
|
|
'drop_screenshot_folder': 'drop_screenshot_folder',
|
|
|
|
'enable_map_clear_mode': 'enable_map_clear_mode',
|
|
|
|
'clear_mode_stop_condition': 'clear_mode_stop_condition',
|
|
|
|
'map_star_clear_all': 'map_star_clear_all',
|
|
|
|
'enable_reward': 'enable_reward',
|
|
|
|
'reward_interval': 'reward_interval',
|
|
|
|
'enable_oil_reward': 'enable_oil_reward',
|
|
|
|
'enable_coin_reward': 'enable_coin_reward',
|
|
|
|
'enable_mission_reward': 'enable_mission_reward',
|
|
|
|
'enable_commission_reward': 'enable_commission_reward',
|
|
|
|
'enable_tactical_reward': 'enable_tactical_reward',
|
|
|
|
'commission_time_limit': 'commission_time_limit',
|
|
|
|
'duration_shorter_than_2': 'duration_shorter_than_2',
|
|
|
|
'duration_longer_than_6': 'duration_longer_than_6',
|
|
|
|
'expire_shorter_than_2': 'expire_shorter_than_2',
|
|
|
|
'expire_longer_than_6': 'expire_longer_than_6',
|
|
|
|
'daily_comm': 'daily_comm',
|
|
|
|
'major_comm': 'major_comm',
|
|
|
|
'extra_drill': 'extra_drill',
|
|
|
|
'extra_part': 'extra_part',
|
|
|
|
'extra_cube': 'extra_cube',
|
|
|
|
'extra_oil': 'extra_oil',
|
|
|
|
'extra_book': 'extra_book',
|
|
|
|
'urgent_drill': 'urgent_drill',
|
|
|
|
'urgent_part': 'urgent_part',
|
|
|
|
'urgent_cube': 'urgent_cube',
|
|
|
|
'urgent_book': 'urgent_book',
|
|
|
|
'urgent_box': 'urgent_box',
|
|
|
|
'urgent_gem': 'urgent_gem',
|
|
|
|
'urgent_ship': 'urgent_ship',
|
|
|
|
'tactical_night_range': 'tactical_night_range',
|
|
|
|
'tactical_book_tier': 'tactical_book_tier',
|
|
|
|
'tactical_exp_first': 'tactical_exp_first',
|
|
|
|
'tactical_book_tier_night': 'tactical_book_tier_night',
|
|
|
|
'tactical_exp_first_night': 'tactical_exp_first_night',
|
|
|
|
'serial': 'serial',
|
|
|
|
'package_name': 'package_name',
|
|
|
|
'enable_error_log_and_screenshot_save': 'enable_error_log_and_screenshot_save',
|
|
|
|
'enable_perspective_error_image_save': 'enable_perspective_error_image_save',
|
|
|
|
'use_adb_screenshot': 'use_adb_screenshot',
|
|
|
|
'use_adb_control': 'use_adb_control',
|
|
|
|
'combat_screenshot_interval': 'combat_screenshot_interval',
|
|
|
|
'enable_daily_mission': 'enable_daily_mission',
|
|
|
|
'enable_hard_campaign': 'enable_hard_campaign',
|
|
|
|
'enable_exercise': 'enable_exercise',
|
2020-05-29 17:34:43 +00:00
|
|
|
'tactical_training': 'daily_mission_1',
|
|
|
|
'fierce_assault': 'daily_mission_2',
|
|
|
|
'escort_mission': 'daily_mission_4',
|
|
|
|
'advance_mission': 'daily_mission_5',
|
2020-05-27 13:32:05 +00:00
|
|
|
'daily_fleet': 'daily_fleet',
|
|
|
|
'daily_equipment': 'daily_equipment',
|
|
|
|
'hard_campaign': 'hard_campaign',
|
|
|
|
'hard_fleet': 'hard_fleet',
|
|
|
|
'hard_equipment': 'hard_equipment',
|
|
|
|
'exercise_choose_mode': 'exercise_choose_mode',
|
|
|
|
'exercise_preserve': 'exercise_preserve',
|
|
|
|
'exercise_try': 'exercise_try',
|
|
|
|
'exercise_hp_threshold': 'exercise_hp_threshold',
|
|
|
|
'exercise_low_hp_confirm': 'exercise_low_hp_confirm',
|
|
|
|
'exercise_equipment': 'exercise_equipment',
|
|
|
|
'main_stage': 'main_stage',
|
|
|
|
'event_stage': 'event_stage',
|
|
|
|
'sp_stage': 'sp_stage',
|
|
|
|
'event_name': 'event_name',
|
|
|
|
'event_name_ab': 'event_name_ab',
|
|
|
|
'enable_semi_map_preparation': 'enable_semi_map_preparation',
|
|
|
|
'enable_semi_story_skip': 'enable_semi_story_skip',
|
|
|
|
'boss_fleet_step_on_a3': 'boss_fleet_step_on_a3',
|
|
|
|
's3_enemy_tolerance': 's3_enemy_tolerance',
|
|
|
|
'non_s3_enemy_enter_tolerance': 'non_s3_enemy_enter_tolerance',
|
|
|
|
'non_s3_enemy_withdraw_tolerance': 'non_s3_enemy_withdraw_tolerance',
|
|
|
|
'ammo_pick_up_124': 'ammo_pick_up_124',
|
|
|
|
|
|
|
|
# Option
|
|
|
|
'yes': 'yes',
|
|
|
|
'no': 'no',
|
2020-05-28 21:37:17 +00:00
|
|
|
'Line Ahead': 'formation_1',
|
|
|
|
'Double Line': 'formation_2',
|
2020-05-30 14:50:02 +00:00
|
|
|
'Diamond': 'formation_3',
|
2020-05-27 13:32:05 +00:00
|
|
|
'combat_auto': 'combat_auto',
|
|
|
|
'combat_manual': 'combat_manual',
|
|
|
|
'stand_still_in_the_middle': 'stand_still_in_the_middle',
|
|
|
|
'do_not_use': 'do_not_use',
|
|
|
|
'hunt_only': 'hunt_only',
|
|
|
|
'every_combat': 'every_combat',
|
|
|
|
'when_no_ammo': 'when_no_ammo',
|
|
|
|
'when_boss_combat': 'when_boss_combat',
|
|
|
|
'when_boss_combat_boss_appear': 'when_boss_combat_boss_appear',
|
|
|
|
'not_in_dormitory': 'not_in_dormitory',
|
|
|
|
'dormitory_floor_1': 'dormitory_floor_1',
|
|
|
|
'dormitory_floor_2': 'dormitory_floor_2',
|
|
|
|
'keep_high_emotion': 'keep_high_emotion',
|
|
|
|
'avoid_green_face': 'avoid_green_face',
|
|
|
|
'avoid_yellow_face': 'avoid_yellow_face',
|
|
|
|
'avoid_red_face': 'avoid_red_face',
|
|
|
|
'retire_all': 'retire_all',
|
|
|
|
'retire_10': 'retire_10',
|
|
|
|
'map_100': 'map_100',
|
|
|
|
'map_3_star': 'map_3_star',
|
|
|
|
'map_green': 'map_green',
|
|
|
|
'daily_air': 'daily_air',
|
|
|
|
'daily_gun': 'daily_gun',
|
|
|
|
'daily_torpedo': 'daily_torpedo',
|
|
|
|
'index_1': 'index_1',
|
|
|
|
'index_2': 'index_2',
|
|
|
|
'index_3': 'index_3',
|
|
|
|
'max_exp': 'max_exp',
|
|
|
|
'max_ranking': 'max_ranking',
|
|
|
|
'good_opponent': 'good_opponent',
|
|
|
|
|
|
|
|
# Event
|
2020-05-27 16:49:26 +00:00
|
|
|
'event_20200521_en': 'event_20200521_en',
|
|
|
|
|
2020-05-27 13:32:05 +00:00
|
|
|
}
|
2020-05-28 22:44:19 +00:00
|
|
|
dic_eng_to_true_eng = {v: k for k, v in dic_true_eng_to_eng.items()}
|
2020-05-27 13:32:05 +00:00
|
|
|
|
2020-03-28 17:22:46 +00:00
|
|
|
dic_chi_to_eng = {
|
|
|
|
# Function
|
|
|
|
'出击设置': 'setting',
|
2020-04-01 14:40:21 +00:00
|
|
|
'收菜设置': 'reward',
|
2020-04-03 07:04:17 +00:00
|
|
|
'设备设置': 'emulator',
|
|
|
|
'每日任务困难演习': 'daily',
|
|
|
|
'每日活动图三倍PT': 'event_daily_ab',
|
2020-03-28 17:22:46 +00:00
|
|
|
'主线图': 'main',
|
|
|
|
'活动图': 'event',
|
2020-04-03 07:04:17 +00:00
|
|
|
'半自动辅助点击': 'semi_auto',
|
2020-03-28 17:22:46 +00:00
|
|
|
'7-2三战拣垃圾': 'c72_mystery_farming',
|
2020-05-04 13:48:52 +00:00
|
|
|
'12-2打中型练级': 'c122_leveling',
|
2020-03-28 17:22:46 +00:00
|
|
|
'12-4打大型练级': 'c124_leveling',
|
|
|
|
|
|
|
|
# Argument
|
|
|
|
'启用停止条件': 'enable_stop_condition',
|
2020-04-09 13:22:01 +00:00
|
|
|
'使用周回模式': 'enable_fast_forward',
|
2020-03-28 17:22:46 +00:00
|
|
|
'如果出击次数大于': 'if_count_greater_than',
|
|
|
|
'如果时间超过': 'if_time_reach',
|
|
|
|
'如果石油低于': 'if_oil_lower_than',
|
|
|
|
'如果触发心情控制': 'if_trigger_emotion_control',
|
|
|
|
'如果船舱已满': 'if_dock_full',
|
|
|
|
'启用舰队控制': 'enable_fleet_control',
|
2020-04-09 13:22:01 +00:00
|
|
|
'启用阵容锁定': 'enable_map_fleet_lock',
|
2020-03-28 17:22:46 +00:00
|
|
|
'舰队编号1': 'fleet_index_1',
|
|
|
|
'舰队阵型1': 'fleet_formation_1',
|
2020-04-22 17:58:35 +00:00
|
|
|
'舰队步长1': 'fleet_step_1',
|
2020-03-28 17:22:46 +00:00
|
|
|
'舰队编号2': 'fleet_index_2',
|
|
|
|
'舰队阵型2': 'fleet_formation_2',
|
2020-04-22 17:58:35 +00:00
|
|
|
'舰队步长2': 'fleet_step_2',
|
2020-03-28 17:22:46 +00:00
|
|
|
'舰队编号3': 'fleet_index_3',
|
|
|
|
'舰队阵型3': 'fleet_formation_3',
|
2020-04-22 17:58:35 +00:00
|
|
|
'舰队步长3': 'fleet_step_3',
|
2020-04-11 13:12:54 +00:00
|
|
|
'战斗自律模式': 'combat_auto_mode',
|
2020-03-28 17:22:46 +00:00
|
|
|
'舰队编号4': 'fleet_index_4',
|
|
|
|
'潜艇出击方案': 'submarine_mode',
|
|
|
|
'启用心情消耗': 'enable_emotion_reduce',
|
|
|
|
'无视红脸出击警告': 'ignore_low_emotion_warn',
|
|
|
|
'心情回复1': 'emotion_recover_1',
|
|
|
|
'心情控制1': 'emotion_control_1',
|
|
|
|
'全员已婚1': 'hole_fleet_married_1',
|
|
|
|
'心情回复2': 'emotion_recover_2',
|
|
|
|
'心情控制2': 'emotion_control_2',
|
|
|
|
'全员已婚2': 'hole_fleet_married_2',
|
|
|
|
'心情回复3': 'emotion_recover_3',
|
|
|
|
'心情控制3': 'emotion_control_3',
|
|
|
|
'全员已婚3': 'hole_fleet_married_3',
|
|
|
|
'启用血量平衡': 'enable_hp_balance',
|
2020-04-07 14:08:06 +00:00
|
|
|
'启用低血量撤退': 'enable_low_hp_withdraw',
|
|
|
|
'先锋血量平衡阈值': 'scout_hp_difference_threshold',
|
2020-05-17 05:36:54 +00:00
|
|
|
'先锋血量权重': 'scout_hp_weights',
|
2020-05-17 09:11:02 +00:00
|
|
|
'紧急维修单人阈值': 'emergency_repair_single_threshold',
|
|
|
|
'紧急维修全队阈值': 'emergency_repair_hole_threshold',
|
2020-04-07 14:08:06 +00:00
|
|
|
'低血量撤退阈值': 'low_hp_withdraw_threshold',
|
2020-03-28 17:22:46 +00:00
|
|
|
'启用退役': 'enable_retirement',
|
2020-04-14 04:26:57 +00:00
|
|
|
'使用一键退役': 'use_one_click_retirement',
|
2020-03-28 17:22:46 +00:00
|
|
|
'退役方案': 'retire_mode',
|
|
|
|
'退役白皮': 'retire_n',
|
|
|
|
'退役蓝皮': 'retire_r',
|
|
|
|
'退役紫皮': 'retire_sr',
|
|
|
|
'退役金皮': 'retire_ssr',
|
|
|
|
'启用掉落记录': 'enable_drop_screenshot',
|
|
|
|
'掉落保存目录': 'drop_screenshot_folder',
|
2020-04-24 07:26:11 +00:00
|
|
|
'启用开荒': 'enable_map_clear_mode',
|
|
|
|
'开荒停止条件': 'clear_mode_stop_condition',
|
|
|
|
'地图全清星星': 'map_star_clear_all',
|
2020-04-01 14:40:21 +00:00
|
|
|
'启用收获': 'enable_reward',
|
|
|
|
'收菜间隔': 'reward_interval',
|
|
|
|
'启用石油收获': 'enable_oil_reward',
|
|
|
|
'启用物资收获': 'enable_coin_reward',
|
|
|
|
'启用任务收获': 'enable_mission_reward',
|
2020-04-06 11:01:22 +00:00
|
|
|
'启用委托收获': 'enable_commission_reward',
|
2020-05-05 09:27:19 +00:00
|
|
|
'启用战术学院收获': 'enable_tactical_reward',
|
2020-04-06 11:01:22 +00:00
|
|
|
'委托时间限制': 'commission_time_limit',
|
|
|
|
'委托耗时小于2h': 'duration_shorter_than_2',
|
|
|
|
'委托耗时超过6h': 'duration_longer_than_6',
|
|
|
|
'委托过期小于2h': 'expire_shorter_than_2',
|
|
|
|
'委托过期大于6h': 'expire_longer_than_6',
|
|
|
|
'日常委托': 'daily_comm',
|
|
|
|
'主要委托': 'major_comm',
|
|
|
|
'钻头类额外委托': 'extra_drill',
|
|
|
|
'部件类额外委托': 'extra_part',
|
|
|
|
'魔方类额外委托': 'extra_cube',
|
|
|
|
'石油类额外委托': 'extra_oil',
|
|
|
|
'教材类额外委托': 'extra_book',
|
|
|
|
'钻头类紧急委托': 'urgent_drill',
|
|
|
|
'部件类紧急委托': 'urgent_part',
|
|
|
|
'魔方类紧急委托': 'urgent_cube',
|
|
|
|
'教材类紧急委托': 'urgent_book',
|
|
|
|
'装备类紧急委托': 'urgent_box',
|
|
|
|
'钻石类紧急委托': 'urgent_gem',
|
|
|
|
'观舰类紧急委托': 'urgent_ship',
|
2020-05-05 09:27:19 +00:00
|
|
|
'战术学院夜间时段': 'tactical_night_range',
|
|
|
|
'技能书稀有度': 'tactical_book_tier',
|
|
|
|
'技能书优先使用同类型': 'tactical_exp_first',
|
|
|
|
'技能书夜间稀有度': 'tactical_book_tier_night',
|
|
|
|
'技能书夜间优先使用同类型': 'tactical_exp_first_night',
|
2020-03-28 17:22:46 +00:00
|
|
|
'设备': 'serial',
|
2020-04-10 06:18:10 +00:00
|
|
|
'包名': 'package_name',
|
2020-04-16 06:05:37 +00:00
|
|
|
'出错时保存log和截图': 'enable_error_log_and_screenshot_save',
|
Add: 适配第一章, 修复大量bug
- 修复处理夜间委托时, 出现递归调用的问题
- 增加红脸出击确认的功能
- 增加了透视识别错误图片保存的开关
- 修复了地图太小时, 透视识别报错的问题
- 修复了相机位于地图外时, 透视识别出错的问题
- 修复了离开退役时, 会连击的问题
- 修复了同时出现低心情和船坞已满弹窗时, 卡住的问题
- 更新了一键退役实装后的安全点击的位置
- 修复了换装滑动失败时, 卡住的问题
- 修复了关闭自动收获后, 出现委托完成的提示是, 进图卡住的问题
- 修复了, 无正在跑的委托时, 报错的问题
2020-04-11 07:23:51 +00:00
|
|
|
'保存透视识别出错的图像': 'enable_perspective_error_image_save',
|
2020-04-14 04:26:57 +00:00
|
|
|
'使用ADB截图': 'use_adb_screenshot',
|
|
|
|
'使用ADB点击': 'use_adb_control',
|
2020-04-27 15:59:51 +00:00
|
|
|
'战斗中截图间隔': 'combat_screenshot_interval',
|
2020-03-28 17:22:46 +00:00
|
|
|
'打每日': 'enable_daily_mission',
|
|
|
|
'打困难': 'enable_hard_campaign',
|
|
|
|
'打演习': 'enable_exercise',
|
|
|
|
'战术研修': 'daily_mission_1',
|
|
|
|
'斩首行动': 'daily_mission_2',
|
|
|
|
'商船护航': 'daily_mission_4',
|
|
|
|
'海域突进': 'daily_mission_5',
|
|
|
|
'每日舰队': 'daily_fleet',
|
|
|
|
'每日舰队快速换装': 'daily_equipment',
|
|
|
|
'困难地图': 'hard_campaign',
|
|
|
|
'困难舰队': 'hard_fleet',
|
|
|
|
'困难舰队快速换装': 'hard_equipment',
|
|
|
|
'演习对手选择': 'exercise_choose_mode',
|
|
|
|
'演习次数保留': 'exercise_preserve',
|
|
|
|
'演习尝试次数': 'exercise_try',
|
|
|
|
'演习SL阈值': 'exercise_hp_threshold',
|
|
|
|
'演习低血量确认时长': 'exercise_low_hp_confirm',
|
|
|
|
'演习快速换装': 'exercise_equipment',
|
|
|
|
'主线地图出击': 'main_stage',
|
2020-03-31 06:21:55 +00:00
|
|
|
'活动地图': 'event_stage',
|
|
|
|
'sp地图': 'sp_stage',
|
|
|
|
'活动名称': 'event_name',
|
2020-03-28 17:22:46 +00:00
|
|
|
'活动名称ab': 'event_name_ab',
|
|
|
|
'进图准备': 'enable_semi_map_preparation',
|
|
|
|
'跳过剧情': 'enable_semi_story_skip',
|
2020-03-31 18:53:28 +00:00
|
|
|
'BOSS队踩A3': 'boss_fleet_step_on_a3',
|
2020-05-04 13:48:52 +00:00
|
|
|
'大型敌人忍耐': 's3_enemy_tolerance',
|
2020-03-28 17:22:46 +00:00
|
|
|
'非大型敌人进图忍耐': 'non_s3_enemy_enter_tolerance',
|
|
|
|
'非大型敌人撤退忍耐': 'non_s3_enemy_withdraw_tolerance',
|
|
|
|
'拣弹药124': 'ammo_pick_up_124',
|
|
|
|
|
|
|
|
# Option
|
|
|
|
'是': 'yes',
|
|
|
|
'否': 'no',
|
|
|
|
'单纵阵': 'formation_1',
|
|
|
|
'复纵阵': 'formation_2',
|
|
|
|
'轮形阵': 'formation_3',
|
2020-04-11 13:12:54 +00:00
|
|
|
'自律': 'combat_auto',
|
|
|
|
'手操': 'combat_manual',
|
|
|
|
'中路站桩': 'stand_still_in_the_middle',
|
2020-03-28 17:22:46 +00:00
|
|
|
'不使用': 'do_not_use',
|
|
|
|
'仅狩猎': 'hunt_only',
|
|
|
|
'每战出击': 'every_combat',
|
|
|
|
'空弹出击': 'when_no_ammo',
|
|
|
|
'BOSS战出击': 'when_boss_combat',
|
|
|
|
'BOSS战BOSS出现后召唤': 'when_boss_combat_boss_appear',
|
|
|
|
'未放置于后宅': 'not_in_dormitory',
|
|
|
|
'后宅一楼': 'dormitory_floor_1',
|
|
|
|
'后宅二楼': 'dormitory_floor_2',
|
|
|
|
'保持经验加成': 'keep_high_emotion',
|
|
|
|
'防止绿脸': 'avoid_green_face',
|
|
|
|
'防止黄脸': 'avoid_yellow_face',
|
|
|
|
'防止红脸': 'avoid_red_face',
|
|
|
|
'退役全部': 'retire_all',
|
|
|
|
'退役10个': 'retire_10',
|
2020-04-18 16:49:33 +00:00
|
|
|
'地图通关': 'map_100',
|
|
|
|
'地图三星': 'map_3_star',
|
|
|
|
'地图绿海': 'map_green',
|
2020-03-28 17:22:46 +00:00
|
|
|
'航空': 'daily_air',
|
|
|
|
'炮击': 'daily_gun',
|
|
|
|
'雷击': 'daily_torpedo',
|
2020-04-14 09:47:26 +00:00
|
|
|
'第一个': 'index_1',
|
|
|
|
'第二个': 'index_2',
|
|
|
|
'第三个': 'index_3',
|
2020-03-28 17:22:46 +00:00
|
|
|
'经验最多': 'max_exp',
|
|
|
|
'排名最前': 'max_ranking',
|
|
|
|
'福利队': 'good_opponent',
|
|
|
|
|
|
|
|
# Event
|
|
|
|
'北境序曲': 'event_20200227_cn',
|
|
|
|
'复刻斯图尔特的硝烟': 'event_20200312_cn',
|
|
|
|
'微层混合': 'event_20200326_cn',
|
2020-04-25 08:43:41 +00:00
|
|
|
'复刻苍红的回响': 'event_20200423_cn',
|
2020-05-07 08:19:52 +00:00
|
|
|
'夜幕下的归途': 'event_20200507_cn',
|
2020-05-22 13:48:56 +00:00
|
|
|
'穹顶下的圣咏曲': 'event_20200521_cn',
|
2020-03-28 17:22:46 +00:00
|
|
|
}
|
2020-05-27 13:32:05 +00:00
|
|
|
|
2020-05-28 22:44:19 +00:00
|
|
|
dic_eng_to_chi = {v: k for k, v in dic_chi_to_eng.items()}
|
2020-03-28 17:22:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
def to_bool(string):
|
|
|
|
return dic_bool.get(string, string)
|
|
|
|
|
|
|
|
|
2020-05-05 09:27:19 +00:00
|
|
|
def to_list(string):
|
2020-03-28 17:22:46 +00:00
|
|
|
if string.isdigit():
|
|
|
|
return None
|
|
|
|
out = [int(letter.strip()) for letter in string.split(',')]
|
|
|
|
return out
|