赛季通行证兑换开关
This commit is contained in:
parent
279b5b84cb
commit
4d1e89cf91
|
@ -704,6 +704,7 @@ const (
|
||||||
TaskTypeCostDiamond = 27 // 消耗钻石数量
|
TaskTypeCostDiamond = 27 // 消耗钻石数量
|
||||||
TaskTypeTienlenLoseCoin = 28 // Tienlen输的金币数量
|
TaskTypeTienlenLoseCoin = 28 // Tienlen输的金币数量
|
||||||
TaskTypeTienlenWinCoin = 29 // Tienlen赢取金币数量
|
TaskTypeTienlenWinCoin = 29 // Tienlen赢取金币数量
|
||||||
|
TaskTypeRankMatchWinTimes = 30 // 排位胜利次数
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
Binary file not shown.
BIN
data/DB_Task.dat
BIN
data/DB_Task.dat
Binary file not shown.
|
@ -867,7 +867,7 @@
|
||||||
"Id": 11006,
|
"Id": 11006,
|
||||||
"Order": 6,
|
"Order": 6,
|
||||||
"ActivityType": 6,
|
"ActivityType": 6,
|
||||||
"TaskType": 6,
|
"TaskType": 30,
|
||||||
"TargetTimes": 3,
|
"TargetTimes": 3,
|
||||||
"FinishTimes": 1,
|
"FinishTimes": 1,
|
||||||
"Award": {
|
"Award": {
|
||||||
|
|
|
@ -454,6 +454,14 @@ func init() {
|
||||||
GameFreeID: scene.dbGameFree.GetId(),
|
GameFreeID: scene.dbGameFree.GetId(),
|
||||||
Num: 1,
|
Num: 1,
|
||||||
})
|
})
|
||||||
|
if scene.IsRankMatch() {
|
||||||
|
TaskSubjectSingleton.Touch(common.TaskTypeRankMatchWinTimes, &TaskData{
|
||||||
|
SnId: player.SnId,
|
||||||
|
GameID: scene.gameId,
|
||||||
|
GameFreeID: scene.dbGameFree.GetId(),
|
||||||
|
Num: 1,
|
||||||
|
})
|
||||||
|
}
|
||||||
// 大众场
|
// 大众场
|
||||||
if common.IsDaZhong(scene.gameId) {
|
if common.IsDaZhong(scene.gameId) {
|
||||||
TaskSubjectSingleton.Touch(common.TaskTypeDaZhong, &TaskData{
|
TaskSubjectSingleton.Touch(common.TaskTypeDaZhong, &TaskData{
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue