blog_backend_api/vendor/wapi/config/task_xinyue.go

622 lines
10 KiB
Go

package config
/*********************
*单独渠道Task任务模型基类相关配置
**********************/
/* 参数说明:
* id (int) 任务ID
* name (string) 任务名称
* hlv (string) example: "eq1" 荣誉等级限定条件字符串, 开头两个字符为比较符, 示意如下: eq:相等, gt:大于, ge:大于等于, le:小于等于, lt:小于
* category (int) 任务类型, 1:一次性任务, 2:新手一次性任务, 3:等级一次性任务, 4:每日一次性任务, 5:特殊任务(永久), 6:限时任务
* condition (int) 任务完成条件要求(整形数值), 根据不同任务意义可能不同, 比如有些任务表示为是否完成, 那么0既是未完成, 1是已完成; 有些任务可能会表示为要进行多少局才算满足, 比如30
* condition_add (string) 任务条件附加值, 一般是与荣誉等级相关的公式
* one (int) 奖励是否为单选, 1:奖励单选, 0或不存在:非单选
* awards (array) 任务奖励, [1]道具id, [2]奖励道具数量
* vip (array) VIP额外奖励, [1]道具id, [2]奖励道具数量
* timelimit (int) 限时时间, 单位(秒), 0或空为不限时
* aa (bool) 是否自动激活任务
*/
//XinYueTask 心悦/任务列表不同
var XinYueTask = map[int]map[string]interface{}{
23: XinyueTask23,
86: XinyueTask86,
87: XinyueTask87,
88: XinyueTask88,
89: XinyueTask89,
90: XinyueTask90,
91: XinyueTask91,
92: XinyueTask92,
93: XinyueTask93,
94: XinyueTask94,
95: XinyueTask95,
96: XinyueTask96,
97: XinyueTask97,
98: XinyueTask98,
99: XinyueTask99,
100: XinyueTask100,
101: XinyueTask101,
105: XinyueTask105,
106: XinyueTask106,
107: XinyueTask107,
108: XinyueTask108,
110: XinyueTask110,
}
//XinyueTask23 贵族月卡30日礼包
var XinyueTask23 = map[string]interface{}{
"id": 23,
"name": "贵族月卡30日礼包",
"category": 6,
"hlv": "gt0",
"condition": 200,
"awards": map[int][][]int{
1: {
{PROP_MONEY, 20000},
{404, 2},
{272, 3},
{273, 3},
{274, 3},
{275, 3},
{276, 3},
{277, 3},
{278, 3},
{279, 3},
{280, 3},
{281, 3},
},
},
"extra": [][]int{
{PROP_MONEY, 150000},
{401, 15},
},
"timelimit": 2592000,
}
//XinyueTask86 每日分享
var XinyueTask86 = map[string]interface{}{
"id": 86,
"name": "每日分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 4,
4: 6,
5: 8,
},
"ver": 2,
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{16, 10},
},
3: {
{15, 4000},
},
4: {
{16, 30},
},
5: {
{15, 10000},
},
},
}
//XinyueTask87 星耀月卡30日礼包
var XinyueTask87 = map[string]interface{}{
"id": 87,
"name": "星耀月卡30日礼包",
"category": 6,
"hlv": "gt0",
"condition": 200,
"awards": map[int][][]int{
1: {
{PROP_MONEY, 20000},
{405, 2},
{272, 10},
{273, 10},
{274, 10},
{275, 10},
{276, 10},
{277, 10},
{278, 10},
{279, 10},
{280, 10},
{281, 10},
},
},
"extra": [][]int{
{PROP_MONEY, 2000000},
{405, 50},
{263, 10000},
},
"timelimit": 2592000,
}
//XinyueTask88 每日分享
var XinyueTask88 = map[string]interface{}{
"id": 88,
"name": "每日分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{
1: {
{403, 1},
},
},
}
//XinyueTask89 退出分享
var XinyueTask89 = map[string]interface{}{
"id": 89,
"name": "退出分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{},
}
//XinyueTask90 连胜分享
var XinyueTask90 = map[string]interface{}{
"id": 90,
"name": "连胜分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{},
}
//XinyueTask91 特殊牌型分享
var XinyueTask91 = map[string]interface{}{
"id": 91,
"name": "特殊牌型分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": 1,
"awards": map[int][][]int{},
}
//XinyueTask92 荣誉分享
var XinyueTask92 = map[string]interface{}{
"id": 92,
"name": "荣誉分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int][]int{
1: {1, 4},
2: {5, 9},
3: {10, 30},
4: {31, 99999},
},
"awards": map[int][][]int{
1: {
{15, 5000},
},
2: {
{15, 4000},
},
3: {
{15, 3000},
},
4: {
{15, 2000},
},
},
}
//XinyueTask93 荣誉等级
var XinyueTask93 = map[string]interface{}{
"id": 93,
"name": "荣誉等级",
"category": 3,
"aa": true,
"hlv": "gt0",
"condition": map[int][]int{
0: {0, 999},
1: {1000, 5999},
2: {6000, 55999},
3: {56000, 305999},
4: {306000, 1555999},
5: {1556000, 9999999999},
},
"awards": map[int][][]int{
1: {
{15, 10000},
{16, 50},
},
2: {
{15, 60000},
{16, 200},
},
3: {
{15, 300000},
{16, 600},
},
4: {
{15, 1500000},
{16, 1800},
},
5: {
{15, 5000000},
{16, 5000},
},
},
}
//XinyueTask94 新手签到
var XinyueTask94 = map[string]interface{}{
"id": 94,
"name": "新手签到",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 3,
4: 4,
5: 5,
},
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{15, 2000},
{401, 2},
},
3: {
{15, 2000},
{276, 2},
{277, 2},
{280, 2},
{279, 2},
{275, 2},
},
4: {
{15, 2000},
{405, 5},
},
5: {
{15, 2000},
{16, 10},
},
},
"double": []int{1, 2, 3, 4, 5},
}
//XinyueTask95 新手签到分享
var XinyueTask95 = map[string]interface{}{
"id": 95,
"name": "新手签到分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 3,
4: 4,
5: 5,
},
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{15, 2000},
{401, 2},
},
3: {
{15, 2000},
{276, 2},
{277, 2},
{280, 2},
{279, 2},
{275, 2},
},
4: {
{15, 2000},
{405, 5},
},
5: {
{15, 2000},
{16, 10},
},
},
}
//XinyueTask96 每日签到
var XinyueTask96 = map[string]interface{}{
"id": 96,
"name": "每日签到",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
3: 3,
4: 4,
5: 5,
6: 6,
7: 7,
8: 8,
9: 9,
10: 10,
11: 11,
12: 12,
13: 13,
14: 14,
15: 15,
},
"awards": map[int][][]int{
1: {{15, 1000}},
2: {{276, 10}},
3: {{15, 1000}},
4: {{401, 2}},
5: {{404, 2}},
6: {{15, 2000}},
7: {{16, 5}},
8: {{280, 10}},
9: {{15, 2000}},
10: {{401, 2}},
11: {{275, 10}},
12: {{273, 10}},
13: {{15, 3000}},
14: {{16, 10}},
15: {{15, 3000}},
},
"vip_condition": map[int][]int{
1: {0, 2},
2: {3, 6},
3: {7, 10},
4: {11, 13},
5: {14, 16},
},
"vip_awards": map[int]interface{}{
1: 1,
2: 1.5,
3: 2,
4: 2.5,
5: 3,
},
}
//XinyueTask97 每日签到分享
var XinyueTask97 = map[string]interface{}{
"id": 97,
"name": "每日签到分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
2: 2,
},
"awards": map[int][][]int{
1: {
{15, 2000},
},
2: {
{15, 4000},
},
},
"vip_condition": map[int][]int{
1: {0, 2},
2: {3, 6},
3: {7, 10},
4: {11, 13},
5: {14, 16},
},
"vip_awards": map[int]interface{}{
1: 1,
2: 1.5,
3: 2,
4: 2.5,
5: 3,
},
}
//XinyueTask98 关注有礼
var XinyueTask98 = map[string]interface{}{
"id": 98,
"name": "关注有礼",
"category": 1,
"aa": true,
"hlv": "gt0",
"awards": map[int][][]int{
1: {
{PROP_MONEY, 3000},
},
},
"weChat_name": "jixiang_game",
"url": "https://cloudimg2.jixiang.cn/sys/qrcode_jixiang.jpg",
}
//XinyueTask99 评论有礼
var XinyueTask99 = map[string]interface{}{
"id": 99,
"name": "评论有礼",
"category": 1,
"aa": true,
"hlv": "gt0",
"awards": map[int][][]int{
1: {
{16, 30},
},
},
}
//XinyueTask100 添加有礼
var XinyueTask100 = map[string]interface{}{
"id": 100,
"name": "添加有礼",
"category": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{276, 20},
},
},
}
//XinyueTask101 有福同享
var XinyueTask101 = map[string]interface{}{
"id": 101,
"name": "有福同享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{276, 10},
{276, 20},
},
},
"mail": map[int][][]int{
1: {
{276, 100},
},
2: {
{276, 100},
},
},
}
//XinyueTask105 分享有礼
var XinyueTask105 = map[string]interface{}{
"id": 105,
"name": "分享有礼",
"category": 4,
"one": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{276, 10},
{16, 20},
},
},
}
//XinyueTask106 观看广告奖励
var XinyueTask106 = map[string]interface{}{
"id": 106,
"name": "观看广告奖励",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{15, 500},
},
},
"count": 10,
"time": map[int]int{
1: 10,
2: 20,
3: 30,
4: 40,
5: 50,
6: 60,
7: 70,
8: 80,
9: 90,
10: 100,
},
}
//XinyueTask107 幸运礼包
var XinyueTask107 = map[string]interface{}{
"id": 107,
"name": "幸运礼包",
"category": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{16, 50},
{15, 1000},
{401, 2},
},
},
}
//XinyueTask108 明日礼包
var XinyueTask108 = map[string]interface{}{
"id": 108,
"name": "明日礼包",
"category": 1,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {
{16, 100},
{15, 3000},
{401, 5},
},
},
}
//XinyueTask110 救济金分享
var XinyueTask110 = map[string]interface{}{
"id": 110,
"name": "救济金分享",
"category": 4,
"aa": true,
"hlv": "gt0",
"condition": map[int]int{
1: 1,
},
"awards": map[int][][]int{
1: {{15, 888}},
2: {{15, 888}},
3: {{15, 2000}},
4: {{15, 3000}},
5: {{15, 4000}},
6: {{15, 5000}},
7: {{15, 8000}},
8: {{15, 10000}},
9: {{15, 15000}},
10: {{15, 20000}},
11: {{15, 30000}},
12: {{15, 40000}},
13: {{15, 50000}},
14: {{15, 60000}},
15: {{15, 70000}},
16: {{15, 80000}},
},
}