Compare commits

...

2 Commits

Author SHA1 Message Date
by 34062ef47e 娃娃机调整 2024-12-10 10:49:21 +08:00
sk 53ebe7bbdc 系统赠送记录破产补助 2024-12-10 10:49:10 +08:00
2 changed files with 7 additions and 3 deletions

View File

@ -394,14 +394,14 @@ var data = []byte{
0x01, //11 强抓力电压占用位 0x01, //11 强抓力电压占用位
0x80, //12 中抓力电压 0x80, //12 中抓力电压
0x01, //13 中抓力电压占用位 0x01, //13 中抓力电压占用位
0x78, //14 弱抓力电压 0x64, //14 弱抓力电压
0x00, //15 弱抓力电压占用位 0x00, //15 弱抓力电压占用位
0xE0, //16 中奖电压 0xE0, //16 中奖电压
0x01, //17 中奖电压占用位 0x01, //17 中奖电压占用位
0xC8, //18 强抓力时间 0xC8, //18 强抓力时间
0x00, //19 强抓力时间占用位 0x00, //19 强抓力时间占用位
0x14, //20 放抓时间 0x0A, //20 放抓时间
0x32, //21 前后速度 0x32, //21 前后速度
0x32, //22 左右速度 0x32, //22 左右速度
0x50, //23 上下速度 0x50, //23 上下速度

View File

@ -113,6 +113,10 @@ func (this *WelfareMgr) GetReliefFund(p *Player, isVideo bool) {
mq.Write(log) mq.Write(log)
logger.Logger.Tracef("NewReliefFundLogEx WriteLog snid: %v Coin:%v", p.SnId, pack.Coin) logger.Logger.Tracef("NewReliefFundLogEx WriteLog snid: %v Coin:%v", p.SnId, pack.Coin)
} }
if !p.IsRob {
mq.Write(model.GenerateSystemFreeGive(p.SnId, p.Name, p.Platform, p.Channel,
model.SystemFreeGive_GiveType_ReliefFund, model.SystemFreeGive_CoinType_Coin, coin))
}
} }
} }
logger.Logger.Tracef("GetReliefFund snid: %v pack: %v", p.SnId, pack) logger.Logger.Tracef("GetReliefFund snid: %v pack: %v", p.SnId, pack)
@ -1114,7 +1118,7 @@ func (this *WelfareMgr) BlindBoxInfo(p *Player, bid int32) {
if cyc == 1 || blindBox.Cycle == model.WelfareOpen { if cyc == 1 || blindBox.Cycle == model.WelfareOpen {
p.WelfData.BlindBoxId = 0 p.WelfData.BlindBoxId = 0
} }
} // == 1代表当日循环 } // == 1代表当日循环
if p.WelfData.BlindBoxId == 0 { // 未领取过发随机Date if p.WelfData.BlindBoxId == 0 { // 未领取过发随机Date
idx := bid idx := bid