测试随机发牌代码

This commit is contained in:
by 2024-10-17 13:59:56 +08:00
parent 5ee2dd9eac
commit d2c6d702e8
2 changed files with 14 additions and 12 deletions

View File

@ -409,9 +409,10 @@ func (this *TienLenSceneData) BroadcastOpPos() {
if B < 0 {
isWin = false
}
if this.WGCreateScene.GetCloseCtrl() {
isWin = true
}
/* if this.WGCreateScene.GetCloseCtrl() {
isWin = true
}*/
isTienLenYule := this.IsTienLenYule()
pack := &tienlen.SCTienLenAIData{
BombNum: 0, //炸弹数量

View File

@ -995,7 +995,8 @@ func (this *SceneHandCardStateTienLen) OnEnter(s *base.Scene) {
sceneEx.SendHandCardOdds()
} else {
// 关闭调控发牌
if sceneEx.WGCreateScene.GetCloseCtrl() {
sceneEx.SendHandCard_Match(true)
/* if sceneEx.WGCreateScene.GetCloseCtrl() {
sceneEx.SendHandCard_Match(true)
} else {
if sceneEx.IsMatchScene() || sceneEx.IsCustom() {
@ -1003,7 +1004,7 @@ func (this *SceneHandCardStateTienLen) OnEnter(s *base.Scene) {
} else {
sceneEx.SendHandCardOdds()
}
}
}*/
}
}