767 lines
12 KiB
Go
767 lines
12 KiB
Go
package config
|
|
|
|
/*********************
|
|
*单独渠道WeileTask任务模型基类相关配置
|
|
**********************/
|
|
|
|
/* 参数说明:
|
|
* 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) 是否自动激活任务
|
|
*/
|
|
|
|
//WeiLeTask 微乐/任务列表不同
|
|
var WeiLeTask = map[int]map[string]interface{}{
|
|
23: WeileTask23,
|
|
86: WeileTask86,
|
|
87: WeileTask87,
|
|
88: WeileTask88,
|
|
89: WeileTask89,
|
|
90: WeileTask90,
|
|
91: WeileTask91,
|
|
92: WeileTask92,
|
|
93: WeileTask93,
|
|
94: WeileTask94,
|
|
95: WeileTask95,
|
|
96: WeileTask96,
|
|
97: WeileTask97,
|
|
98: WeileTask98,
|
|
99: WeileTask99,
|
|
100: WeileTask100,
|
|
101: WeileTask101,
|
|
102: WeileTask102,
|
|
103: WeileTask103,
|
|
104: WeileTask104,
|
|
105: WeileTask105,
|
|
106: WeileTask106,
|
|
107: WeileTask107,
|
|
108: WeileTask108,
|
|
109: WeileTask109,
|
|
110: WeileTask110,
|
|
}
|
|
|
|
//WeileTask23 贵族月卡30日礼包
|
|
var WeileTask23 = 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,
|
|
}
|
|
|
|
//WeileTask86 每日分享
|
|
var WeileTask86 = 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},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask87 星耀月卡30日礼包
|
|
var WeileTask87 = 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,
|
|
}
|
|
|
|
//WeileTask88 每日分享
|
|
var WeileTask88 = map[string]interface{}{
|
|
"id": 88,
|
|
"name": "每日分享",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": 1,
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{403, 1},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask89 退出分享
|
|
var WeileTask89 = map[string]interface{}{
|
|
"id": 89,
|
|
"name": "退出分享",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": 1,
|
|
"awards": map[int][][]int{},
|
|
}
|
|
|
|
//WeileTask90 连胜分享
|
|
var WeileTask90 = map[string]interface{}{
|
|
"id": 90,
|
|
"name": "连胜分享",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": 1,
|
|
"awards": map[int][][]int{},
|
|
}
|
|
|
|
//WeileTask91 特殊牌型分享
|
|
var WeileTask91 = map[string]interface{}{
|
|
"id": 91,
|
|
"name": "特殊牌型分享",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": 1,
|
|
"awards": map[int][][]int{},
|
|
}
|
|
|
|
//WeileTask92 荣誉分享
|
|
var WeileTask92 = 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, 2000},
|
|
},
|
|
2: {
|
|
{15, 2000},
|
|
},
|
|
3: {
|
|
{15, 2000},
|
|
},
|
|
4: {
|
|
{15, 2000},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask93 荣誉等级
|
|
var WeileTask93 = 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},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask94 新手签到
|
|
var WeileTask94 = 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},
|
|
}
|
|
|
|
//WeileTask95 新手签到分享
|
|
var WeileTask95 = 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},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask96 每日签到
|
|
var WeileTask96 = 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: {
|
|
{15, 2000},
|
|
},
|
|
3: {
|
|
{16, 15},
|
|
},
|
|
4: {
|
|
{15, 2000},
|
|
},
|
|
5: {
|
|
{401, 1},
|
|
},
|
|
6: {
|
|
{15, 3000},
|
|
},
|
|
7: {
|
|
{15, 5000},
|
|
{276, 10},
|
|
{277, 10},
|
|
{280, 10},
|
|
{279, 10},
|
|
{275, 10},
|
|
},
|
|
},
|
|
"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,
|
|
},
|
|
}
|
|
|
|
//WeileTask97 每日签到分享
|
|
var WeileTask97 = 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, 1000},
|
|
},
|
|
2: {
|
|
{15, 2000},
|
|
},
|
|
3: {
|
|
{16, 15},
|
|
},
|
|
4: {
|
|
{15, 2000},
|
|
},
|
|
5: {
|
|
{401, 1},
|
|
},
|
|
6: {
|
|
{15, 3000},
|
|
},
|
|
7: {
|
|
{15, 5000},
|
|
{276, 10},
|
|
{277, 10},
|
|
{280, 10},
|
|
{279, 10},
|
|
{275, 10},
|
|
},
|
|
},
|
|
"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,
|
|
},
|
|
}
|
|
|
|
//WeileTask98 关注有礼
|
|
var WeileTask98 = map[string]interface{}{
|
|
"id": 98,
|
|
"name": "关注有礼",
|
|
"category": 1,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{PROP_MONEY, 2000},
|
|
},
|
|
},
|
|
"weChat_name": "weile_game",
|
|
"url": "https://cloudimg2.weile.com/sys/qrcode_weile.jpg",
|
|
}
|
|
|
|
//WeileTask99 评论有礼
|
|
var WeileTask99 = map[string]interface{}{
|
|
"id": 99,
|
|
"name": "评论有礼",
|
|
"category": 1,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{16, 30},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask100 添加有礼
|
|
var WeileTask100 = map[string]interface{}{
|
|
"id": 100,
|
|
"name": "添加有礼",
|
|
"category": 1,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{15, 2000},
|
|
},
|
|
},
|
|
"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,
|
|
},
|
|
}
|
|
|
|
//WeileTask101 有福同享
|
|
var WeileTask101 = map[string]interface{}{
|
|
"id": 101,
|
|
"name": "有福同享",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{15, 2000},
|
|
},
|
|
2: {
|
|
{16, 10},
|
|
},
|
|
},
|
|
"mail": map[int][][]int{
|
|
1: {
|
|
{15, 5000},
|
|
},
|
|
2: {
|
|
{15, 5000},
|
|
},
|
|
},
|
|
"time": 60,
|
|
"count": 4,
|
|
}
|
|
|
|
//WeileTask102 主界面分享(大话骰子)
|
|
var WeileTask102 = map[string]interface{}{
|
|
"id": 102,
|
|
"name": "主界面分享(大话骰子)",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
2: 2,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{15, 1000},
|
|
},
|
|
2: {
|
|
{15, 2000},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask103 战绩分享(大话骰子)
|
|
var WeileTask103 = map[string]interface{}{
|
|
"id": 103,
|
|
"name": "战绩分享(大话骰子)",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{15, 1000},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask104 破产分享(大话骰子)
|
|
var WeileTask104 = map[string]interface{}{
|
|
"id": 104,
|
|
"name": "破产分享(大话骰子)",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{15, 1000},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask105 分享有礼
|
|
var WeileTask105 = 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: {
|
|
{15, 2000},
|
|
{16, 10},
|
|
},
|
|
},
|
|
"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,
|
|
},
|
|
}
|
|
|
|
//WeileTask106 观看广告奖励
|
|
var WeileTask106 = map[string]interface{}{
|
|
"id": 106,
|
|
"name": "观看广告奖励",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{15, 888},
|
|
},
|
|
},
|
|
"count": 10,
|
|
"time": map[int]int{
|
|
1: 0,
|
|
2: 0,
|
|
3: 0,
|
|
4: 0,
|
|
5: 0,
|
|
6: 0,
|
|
7: 0,
|
|
8: 0,
|
|
9: 0,
|
|
10: 0,
|
|
},
|
|
}
|
|
|
|
//WeileTask107 幸运礼包
|
|
var WeileTask107 = 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},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask108 明日礼包
|
|
var WeileTask108 = map[string]interface{}{
|
|
"id": 108,
|
|
"name": "明日礼包",
|
|
"category": 1,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{16, 200},
|
|
{15, 20000},
|
|
{401, 5},
|
|
{404, 10},
|
|
{276, 10},
|
|
{277, 10},
|
|
{280, 10},
|
|
{279, 10},
|
|
{275, 10},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask109 观看广告视频
|
|
var WeileTask109 = map[string]interface{}{
|
|
"id": 109,
|
|
"name": "观看广告视频",
|
|
"category": 4,
|
|
"aa": true,
|
|
"hlv": "gt0",
|
|
"condition": map[int]int{
|
|
1: 1,
|
|
},
|
|
"awards": map[int][][]int{
|
|
1: {
|
|
{15, 500},
|
|
},
|
|
},
|
|
}
|
|
|
|
//WeileTask110 救济金分享
|
|
var WeileTask110 = 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}},
|
|
},
|
|
}
|