diff --git a/game/game.js b/game/game.js
index 9a19a547e..031f9e7ae 100755
--- a/game/game.js
+++ b/game/game.js
@@ -2309,6 +2309,12 @@
map.free_choose.hide();
map.double_character_jiange.hide();
}
+ if(config.versus_mode=='two'){
+ map.replace_handcard_two.show();
+ }
+ else{
+ map.replace_handcard_two.hide();
+ }
},
versus_mode:{
name:'游戏模式',
@@ -2316,6 +2322,7 @@
item:{
standard:'标准',
jiange:'剑阁',
+ two:'2v2',
four:'4v4'
},
restart:true,
@@ -2367,6 +2374,11 @@
init:false,
frequent:true,
},
+ replace_handcard_two:{
+ name:'末位可换牌',
+ init:true,
+ frequent:true,
+ },
ban_weak:{
name:'屏蔽弱将',
init:true,
@@ -12995,43 +13007,64 @@
}
}
}
- next.content=function(){
- 'step 0'
- var send=function(){
- game.me.chooseBool('是否置换手牌?');
- game.resume();
- };
- var sendback=function(result,player){
+ if(_status.connectMode){
+ next.content=function(){
+ 'step 0'
+ var send=function(){
+ game.me.chooseBool('是否置换手牌?');
+ game.resume();
+ };
+ var sendback=function(result,player){
+ if(result&&result.bool){
+ var hs=player.get('h')
+ game.broadcastAll(function(player,hs){
+ for(var i=0;i