Oops.
This commit is contained in:
parent
52dfd5150a
commit
2f7dc5fbe7
|
@ -364,10 +364,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
global:'heiguangkai_ai',
|
global:'heiguangkai_ai',
|
||||||
},
|
},
|
||||||
tongque_skill:{
|
tongque_skill:{
|
||||||
trigger:{player:'useCardBegin'},
|
trigger:{player:'yingbian'},
|
||||||
equipSkill:true,
|
equipSkill:true,
|
||||||
forced:true,
|
forced:true,
|
||||||
filter:(event,player)=>get.is.yingbianConditional(event.card)&&!player.hasHistory('useCard',evt=>get.is.yingbianConditional(evt.card)),
|
filter:(event,player)=>get.is.yingbianConditional(event.card)&&player.getHistory('useCard',evt=>get.is.yingbianConditional(evt.card)).length<2,
|
||||||
content:()=>{
|
content:()=>{
|
||||||
trigger.forceYingbian=true;
|
trigger.forceYingbian=true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -54671,7 +54671,7 @@
|
||||||
},
|
},
|
||||||
verticalStr:function(str,sp){
|
verticalStr:function(str,sp){
|
||||||
if(typeof str!='string') return '';
|
if(typeof str!='string') return '';
|
||||||
return [...str].filter(value=>value!='`').join('');
|
return Array.from(str).filter(value=>value!='`').join('');
|
||||||
},
|
},
|
||||||
numStr:function(num,method){
|
numStr:function(num,method){
|
||||||
if(num==Infinity){
|
if(num==Infinity){
|
||||||
|
|
Loading…
Reference in New Issue