娃娃卡下抓获得娃娃卡改回正常抓取

This commit is contained in:
DESKTOP-45ANQ2C\unis 2024-09-28 18:31:09 +08:00
parent bbae2da8da
commit a48a9fede4
1 changed files with 1 additions and 2 deletions

View File

@ -109,6 +109,7 @@ func MSDollMachineoCoinResultHandler(session *netlib.Session, packetId int, data
case 2:
if msg.Result == 1 {
// 获得娃娃卡
playerEx.CatchCardClawdoll()
playerEx.IsWin = true
logger.Logger.Tracef("下抓成功snid = %v", msg.Snid)
@ -118,8 +119,6 @@ func MSDollMachineoCoinResultHandler(session *netlib.Session, packetId int, data
playerEx.IsWin = false
}
playerEx.CatchCardClawdoll()
logger.Logger.Tracef("ClawDoll StatePlayGame OnPlayerOp Grab response, SnId= %v", msg.Snid)
s.ChangeSceneState(rule.ClawDollSceneStateBilled)