[[tasks]] name = "启动游戏" # 任务的名字,可选,默认为任务类型 type = "StartUp" # 任务的类型 params = { client_type = "Official", start_game_enabled = true } # 对应任务的参数 [[tasks]] type = "Recruit" name = "公开招募" [tasks.params] refresh = true select = [4, 5] confirm = [3, 4, 5] skip_robot = false recruitment_time = { '3' = 460 } [[tasks.variants]] condition = { type = "Time", start = "17:00:00" } params = { times = 4 } # consume refresh times [[tasks.variants]] params = { times = 1 } [[tasks]] name = "基建换班" type = "Infrast" [tasks.params] mode = 10000 facility = ["Trade", "Reception", "Mfg", "Control", "Power", "Office", "Dorm"] dorm_trust_enabled = true filename = "normal.json" # 自定义的基建计划的文件名应该位于`$MAA_CONFIG_DIR/infrast` # 在 18:00:00到第二天的 04:00:00 使用计划 0,在 12:00:00 之前使用计划 1,之后使用计划 2 [[tasks.variants]] condition = { type = "Time", start = "22:00:00", end = "08:00:00", timezone = 8 } # 当结束时间小于开始时间时,结束时间被视为第二天的时间 params = { plan_index = 0 } [[tasks.variants]] condition = { type = "Time", end = "16:00:00", timezone = 8 } # 如果开始时间被省略,那么只要当前时间小于结束时间时,这个条件就会被匹配 params = { plan_index = 1 } [[tasks.variants]] condition = { type = "Time", start = "16:00:00", timezone = 8 } # 如果结束时间被省略,那么只要当前时间大于开始时间时,这个条件就会被匹配 params = { plan_index = 2 } [[tasks]] name = "刷理智" type = "Fight" # 改变Condition匹配模式 strategy = "merge" # 周末清理理智药 [[tasks.variants]] params = { expiring_medicine = 1000 } [tasks.variants.condition] type = "And" conditions = [ { type = "Weekday", weekdays = ["Sun"], timezone = "Official"}, ] # 在夏活期间,刷SL-8 [[tasks.variants]] params = { stage = "GO-8" } condition = { type = "OnSideStory", client = "Official" } # 在夏活期间以外的周一、周四和周六,刷AP-5(红票) [[tasks.variants]] condition = { type = "Weekday", weekdays = ["Mon", "Thu", "Sat"], timezone = "Official"} params = { stage = "AP-5" } # 在夏活期间以外的周二、周三、周五和周日,刷CA-5(经验书) [[tasks.variants]] condition = { type = "Weekday", weekdays = ["Tue", "Wed", "Fri", "Sun"], timezone = "Official"} params = { stage = "CA-5" } # 其他时间(?已经没有嘞),刷1-7 [[tasks.variants]] params = { stage = "1-7" } # 只在18:00:00之后进行信用商店相关的操作 [[tasks]] name = "信用商店" type = "Mall" [[tasks.variants]] condition = { type = "Time", start = "18:00:00" } [[tasks]] name = "领取奖励" type = "Award" [tasks.params] award = true mail = true orundum = true specialaccess = true