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