系统赠送记录破产补助
This commit is contained in:
parent
7198f8c99f
commit
53ebe7bbdc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue