Compare commits
2 Commits
b3cbab553d
...
87db6c4e75
Author | SHA1 | Date |
---|---|---|
|
87db6c4e75 | |
|
d687c12101 |
|
@ -1024,7 +1024,7 @@ func GetPressCards(cards, lastCards []int32, data *tienlenApi.PredictRequest, po
|
|||
//如果是机器人出的牌 判断出不出2
|
||||
if lastIsRobot {
|
||||
//如果上家剩余牌大于2手
|
||||
if lastHandCardnum > 1 && Value(lastCards[0]) == 2 && len(outCards) == 1 && handCardnum > 2 {
|
||||
if lastHandCardnum > 1 && Value(lastCards[0]) == 12 && len(outCards) == 1 && handCardnum > 2 {
|
||||
//随机概率80
|
||||
if rand.Int31n(100)+1 <= 80 {
|
||||
outCards = []int32{}
|
||||
|
@ -1218,7 +1218,7 @@ func GetPressCards(cards, lastCards []int32, data *tienlenApi.PredictRequest, po
|
|||
//如果是机器人出的牌 判断出不出2
|
||||
if lastIsRobot {
|
||||
//如果上家剩余牌大于2手
|
||||
if lastHandCardnum > 1 && Value(lastCards[0]) == 2 && len(outCards) == 2 && handCardnum > 2 {
|
||||
if lastHandCardnum > 1 && Value(lastCards[0]) == 12 && len(outCards) == 2 && handCardnum > 2 {
|
||||
//随机概率80
|
||||
if rand.Int31n(100)+1 <= 80 {
|
||||
outCards = []int32{}
|
||||
|
|
Loading…
Reference in New Issue