diff --git a/data/DB_GameItem.dat b/data/DB_GameItem.dat index 9374d8c..00be44f 100644 Binary files a/data/DB_GameItem.dat and b/data/DB_GameItem.dat differ diff --git a/data/DB_GameItem.json b/data/DB_GameItem.json index 8753fd7..9273ee4 100644 --- a/data/DB_GameItem.json +++ b/data/DB_GameItem.json @@ -2955,12 +2955,12 @@ "Id": 300000, "Name": "财神送福", "ShowLocation": [ - 1, + 0, 1 ], "Classify": [ - 0, - 0, + 1, + 1, 0 ], "Type": 21, diff --git a/data/DB_PropExchange.dat b/data/DB_PropExchange.dat index fca57c2..e6341d4 100644 Binary files a/data/DB_PropExchange.dat and b/data/DB_PropExchange.dat differ diff --git a/data/DB_Task.dat b/data/DB_Task.dat index e567bb2..186bd23 100644 Binary files a/data/DB_Task.dat and b/data/DB_Task.dat differ diff --git a/public b/public index 4206616..3d5fc5c 160000 --- a/public +++ b/public @@ -1 +1 @@ -Subproject commit 4206616316ed483d02fc9fc13299c51a278ae53e +Subproject commit 3d5fc5c6e4eeb3b8008ff098751c1bd6b211793c diff --git a/worldsrv/action_phonelottery.go b/worldsrv/action_phonelottery.go index 2b0bdf4..4b7c8dd 100644 --- a/worldsrv/action_phonelottery.go +++ b/worldsrv/action_phonelottery.go @@ -237,7 +237,7 @@ func (this *CSDiamondLotteryInfoHandler) Process(s *netlib.Session, packetid int info := WelfareMgrSington.GetConfig(p.Platform) if info != nil && info.DiamondLotteryConfig != nil { for _, value := range info.DiamondLotteryConfig.LotteryData { - if value.Channel == p.Channel { + if value.Channel == p.LastChannel { pack.MaxScore = value.MaxScore pack.DiamondNum = value.DiamondNum for _, lotteryInfo := range value.Info { @@ -294,13 +294,13 @@ func (this *CSDiamondLotteryHandler) Process(s *netlib.Session, packetid int, da var config *webapi.DiamondLotteryData if info != nil && info.LotteryData != nil { for _, value := range info.LotteryData { - if value.Channel == p.Channel { + if value.Channel == p.LastChannel { config = value break } } if config == nil { - logger.Logger.Error("钻石抽奖,未找到配置!p.Channel = ", p.Channel) + logger.Logger.Error("钻石抽奖,未找到配置!p.LastChannel = ", p.LastChannel) return nil } //判断钻石数量 @@ -443,13 +443,13 @@ func (this *CSDiamondLotteryLuckyAwardHandler) Process(s *netlib.Session, packet var config *webapi.DiamondLotteryData if info != nil && info.LotteryData != nil { for _, value := range info.LotteryData { - if value.Channel == p.Channel { + if value.Channel == p.LastChannel { config = value break } } if config == nil { - logger.Logger.Error("钻石抽奖,未找到配置!p.Channel = ", p.Channel) + logger.Logger.Error("钻石抽奖,未找到配置!p.LastChannel = ", p.LastChannel) return nil } if p.DiamondLotteryScore < int64(config.MaxScore) { diff --git a/xlsx/DB_GameItem.xlsx b/xlsx/DB_GameItem.xlsx index 59759cb..07c09e6 100644 Binary files a/xlsx/DB_GameItem.xlsx and b/xlsx/DB_GameItem.xlsx differ