feat: 五公杀赔从5倍改为4倍,四条杀赔保持5倍
This commit is contained in:
@@ -96,14 +96,16 @@ class ToBetNnService
|
||||
'withhold_player_3_banker_times',
|
||||
];
|
||||
foreach ($betTotalAmount AS $k => $v){
|
||||
if ($v > $userInfo['limit_high'] && !in_array($k,$withholdKeys)){
|
||||
$nnLimitHigh = ($userInfo['limit_high_nn'] > 0) ? $userInfo['limit_high_nn'] : $userInfo['limit_high'];
|
||||
if ($v > $nnLimitHigh && !in_array($k,$withholdKeys)){
|
||||
$ws->emit('toBet',['status' => false, 'table_id' => $tableInfo['id'], 'msg' => 'exceeds_limit_user']);
|
||||
SocketSession::resetRepeat($fd,'user','isToBet');
|
||||
return;
|
||||
}
|
||||
}
|
||||
foreach ($betTotalAmount AS $k => $v){
|
||||
if ($v > 0 && $v < $userInfo['limit_low'] && !in_array($k,$withholdKeys)){
|
||||
$nnLimitLow = ($userInfo['limit_low_nn'] > 0) ? $userInfo['limit_low_nn'] : $userInfo['limit_low'];
|
||||
if ($v > 0 && $v < $nnLimitLow && !in_array($k,$withholdKeys)){
|
||||
$ws->emit('toBet',['status' => false, 'table_id' => $tableInfo['id'], 'msg' => 'under_limit_user']);
|
||||
SocketSession::resetRepeat($fd,'user','isToBet');
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user