From 5807aebce0b0fa7215bf5821fe0f62ba093df8ad Mon Sep 17 00:00:00 2001 From: "DESKTOP-45ANQ2C\\unis" <121212121@qq.com> Date: Mon, 21 Oct 2024 15:13:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A8=83=E5=A8=83=E6=9C=BA=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gamesrv/clawdoll/scene_clawdoll.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gamesrv/clawdoll/scene_clawdoll.go b/gamesrv/clawdoll/scene_clawdoll.go index e518705..d4762e0 100644 --- a/gamesrv/clawdoll/scene_clawdoll.go +++ b/gamesrv/clawdoll/scene_clawdoll.go @@ -241,6 +241,8 @@ func (this *SceneEx) init() bool { this.Clear() this.PayCoinCount = this.LoadPayCoinCount() + + this.PayCoinCount = 21 return true } @@ -437,6 +439,8 @@ func (this *SceneEx) TimeOutPlayGrab() bool { this.PayCoinCount = 0 } + logger.Logger.Trace("ClawDoll StatePlayGame OnPlayerOp Grab-----SnId:", playerEx.SnId, " grapType: ", grapType) + this.OnPlayerSMGrabOp(this.playingSnid, int32(this.machineId), grapType) }