bug fix gain
This commit is contained in:
parent
aab5d55309
commit
d7e035e928
|
@ -445,9 +445,13 @@ func (this *SceneStateStartGatesOfOlympus) OnPlayerOp(s *base.Scene, p *base.Pla
|
|||
//logger.Logger.Trace("=====================AddCoin=====RoundReward===", data.RoundReward)
|
||||
playerEx.AddCoin(int64(data.RoundReward), common.GainWay_HundredSceneWin, 0, "system", s.GetSceneName())
|
||||
//免费游戏结束或者正常模式
|
||||
total := data.TotalBet
|
||||
if playerEx.BetMode == 2 {
|
||||
total *= 100
|
||||
}
|
||||
sceneEx.StaticsLaba(&base.StaticLabaParam{
|
||||
SnId: playerEx.SnId,
|
||||
Gain: int64(data.RoundReward - data.TotalBet),
|
||||
Gain: int64(data.RoundReward - total),
|
||||
GainTax: int64(taxCoin),
|
||||
IsAddTimes: true,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue