钻石存储罐 领取次数达到上限 不增加钻石

This commit is contained in:
by 2024-06-28 11:48:01 +08:00
parent 7146df070c
commit 44ff58675d
1 changed files with 4 additions and 0 deletions

View File

@ -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)