钻石存储罐 领取次数达到上限 不增加钻石
This commit is contained in:
parent
7146df070c
commit
44ff58675d
|
|
@ -1918,6 +1918,10 @@ func (this *WelfareMgr) UpdateDiamondBankData(p *Player, coinNum int64, isWin bo
|
|||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
if p.WelfData.DiamondBank.DayBuyTimes == fGetPropValue("DayBuyMaxCntDiamond") {
|
||||
return
|
||||
}
|
||||
WinCoinRate := fGetPropValue("WinCoinRateDiamond")
|
||||
LoseCoinRate := fGetPropValue("LoseCoinRateDiamond")
|
||||
addDiamond := float64(0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue