diff --git a/card/yunchou.js b/card/yunchou.js index 957c13563..002d6dcb5 100644 --- a/card/yunchou.js +++ b/card/yunchou.js @@ -513,40 +513,6 @@ card.yunchou={ } } }, - shushangkaihua:{ - fullskin:true, - type:'trick', - enable:true, - selectTarget:-1, - multitarget:true, - multiline:true, - filterTarget:function(card,player,target){ - return target.isFewestHandcard(); - }, - content:function(){ - var num=[]; - for(var i=0;i'+config.intro+''); - }); + if(!config.intro){ + config.intro='设置'+config.name; } + lib.setIntro(node,function(uiintro){ + if(lib.config.touchscreen) _status.dragged=true; + uiintro.style.width='160px'; + uiintro._place_text=uiintro.add('
'+config.intro+'
'); + }); if(config.item){ if(Array.isArray(config.init)){ diff --git a/game/update.js b/game/update.js index e840ab862..fc965afb4 100644 --- a/game/update.js +++ b/game/update.js @@ -14,7 +14,7 @@ window.noname_update={ 'mode/versus.js', // 'mode/guozhan.js', // 'mode/identity.js', - // 'mode/stone.js', + 'mode/stone.js', // 'theme/simple/style.css', 'layout/default/layout.css', // 'layout/long/layout.css', diff --git a/mode/stone.js b/mode/stone.js index 9db15f1c4..454a7d80f 100644 --- a/mode/stone.js +++ b/mode/stone.js @@ -2108,6 +2108,10 @@ mode.stone={ multiline:true, content:function(){ 'step 0' + if(!targets.length){ + event.finish(); + return; + } var maxf=[],maxe=[]; for(var i=0;i