竞技馆积分可以为负数
This commit is contained in:
parent
cc882657a4
commit
3811215f80
|
|
@ -1790,7 +1790,7 @@ func (this *SceneBilledStateTienLen) OnEnter(s *base.Scene) {
|
|||
}
|
||||
}
|
||||
losePlayerCoin := losePlayer.GetCoin()
|
||||
if !sceneEx.IsMatchScene() && losePlayerCoin < gainScore {
|
||||
if !sceneEx.IsMatchScene() && !sceneEx.IsCustom() && losePlayerCoin < gainScore {
|
||||
gainScore = losePlayerCoin
|
||||
}
|
||||
losePlayerScore = gainScore
|
||||
|
|
@ -1932,7 +1932,7 @@ func (this *SceneBilledStateTienLen) OnEnter(s *base.Scene) {
|
|||
}
|
||||
}
|
||||
lastWinPlayerCoin := lastWinPlayer.GetCoin()
|
||||
if !sceneEx.IsMatchScene() && lastWinPlayerCoin < astWinGainScore {
|
||||
if !sceneEx.IsMatchScene() && !sceneEx.IsCustom() && lastWinPlayerCoin < astWinGainScore {
|
||||
astWinGainScore = lastWinPlayerCoin
|
||||
}
|
||||
lastWinPlayerScore = astWinGainScore
|
||||
|
|
@ -2292,7 +2292,7 @@ func (this *SceneBilledStateTienLen) OnEnter(s *base.Scene) {
|
|||
}
|
||||
}
|
||||
losePlayerCoin := playerEx.GetCoin()
|
||||
if !sceneEx.IsMatchScene() && losePlayerCoin < gainScore {
|
||||
if !sceneEx.IsMatchScene() && !sceneEx.IsCustom() && losePlayerCoin < gainScore {
|
||||
gainScore = losePlayerCoin
|
||||
}
|
||||
winScore += gainScore
|
||||
|
|
|
|||
Loading…
Reference in New Issue