This commit is contained in:
Tipx-L 2023-08-30 19:13:03 -07:00
parent 52dfd5150a
commit 2f7dc5fbe7
2 changed files with 3 additions and 3 deletions

View File

@ -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;
} }

View File

@ -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){