From 5ffc8580cbe13ef25c04915ec86985c8dda3fdf9 Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Tue, 6 Feb 2024 20:33:52 +0800 Subject: [PATCH] =?UTF-8?q?168=20=E5=9F=8B=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/json/game_buriedcondi.json | 1 + bin/json/game_buriedtype.json | 1 + bin/json/game_integralbuffgroup.json | 8 ++------ modules/pagoda/api_challengeover.go | 5 +++++ modules/pagoda/model_rank.go | 4 +++- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/bin/json/game_buriedcondi.json b/bin/json/game_buriedcondi.json index 984f26430..0bd6872d5 100644 --- a/bin/json/game_buriedcondi.json +++ b/bin/json/game_buriedcondi.json @@ -5657,6 +5657,7 @@ }, "value": 1, "filter": [ + 1, 1 ], "filter2": [] diff --git a/bin/json/game_buriedtype.json b/bin/json/game_buriedtype.json index a4a3734de..3b997e4ae 100644 --- a/bin/json/game_buriedtype.json +++ b/bin/json/game_buriedtype.json @@ -1012,6 +1012,7 @@ "id": 168, "insert": 1, "filter": [ + "eq", "eq" ] }, diff --git a/bin/json/game_integralbuffgroup.json b/bin/json/game_integralbuffgroup.json index 8a87a2c9a..8918e4d07 100644 --- a/bin/json/game_integralbuffgroup.json +++ b/bin/json/game_integralbuffgroup.json @@ -2,12 +2,8 @@ { "skillgroup": 101, "skillid": [ - 185001004, - 185001007, - 185001010, - 185001020, - 185001018, - 185001022 + 185001001, + 185001004 ] }, { diff --git a/modules/pagoda/api_challengeover.go b/modules/pagoda/api_challengeover.go index 8c0103b6a..ac16b4a73 100644 --- a/modules/pagoda/api_challengeover.go +++ b/modules/pagoda/api_challengeover.go @@ -30,6 +30,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal award []*cfg.Gameatn changExp map[string]int32 costTime int32 // 耗时 + tasks []*pb.BuriedParam ) changExp = make(map[string]int32, 0) mapData = make(map[string]interface{}, 0) @@ -195,6 +196,10 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PagodaChal Reward: atno, Heroexp: changExp, }) + tasks = append(tasks, comm.GetBuriedParam(comm.Rtype168, 1, conf.Tab, conf.LayerNum)) + go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { + this.module.ModuleBuried.TriggerBuried(session, tasks...) + }) return } diff --git a/modules/pagoda/model_rank.go b/modules/pagoda/model_rank.go index 641703d29..d77131887 100644 --- a/modules/pagoda/model_rank.go +++ b/modules/pagoda/model_rank.go @@ -38,7 +38,9 @@ func (this *ModelRank) Init(service core.IService, module core.IModule, comp cor } func (this *ModelRank) getcrossPagodaRankList(uid string) *pb.DBPagodaRecord { - record := &pb.DBPagodaRecord{} + record := &pb.DBPagodaRecord{ + Data: make(map[int32]*pb.PagodaRecordData), + } if db.IsCross() { if err := this.Get(uid, record); err == mgo.MongodbNil { result := &pb.DBPagodaRecord{