diff --git a/card/yingbian.js b/card/yingbian.js index 0fd190613..8c17e989e 100644 --- a/card/yingbian.js +++ b/card/yingbian.js @@ -364,10 +364,10 @@ game.import('card',function(lib,game,ui,get,ai,_status){ global:'heiguangkai_ai', }, tongque_skill:{ - trigger:{player:'useCardBegin'}, + trigger:{player:'yingbian'}, equipSkill: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:()=>{ trigger.forceYingbian=true; } diff --git a/game/game.js b/game/game.js index a9c41e5d4..c1695b87b 100644 --- a/game/game.js +++ b/game/game.js @@ -54671,7 +54671,7 @@ }, verticalStr:function(str,sp){ if(typeof str!='string') return ''; - return [...str].filter(value=>value!='`').join(''); + return Array.from(str).filter(value=>value!='`').join(''); }, numStr:function(num,method){ if(num==Infinity){