From 3811215f80ca55963d8131206cbec1fbb807a55c Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 11 Sep 2024 15:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E6=8A=80=E9=A6=86=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E4=B8=BA=E8=B4=9F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gamesrv/tienlen/scenepolicy_tienlen.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gamesrv/tienlen/scenepolicy_tienlen.go b/gamesrv/tienlen/scenepolicy_tienlen.go index 329f4af..8445989 100644 --- a/gamesrv/tienlen/scenepolicy_tienlen.go +++ b/gamesrv/tienlen/scenepolicy_tienlen.go @@ -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