From 899a29bd6191e7adbd2c02037329e28cadcb8a71 Mon Sep 17 00:00:00 2001 From: Spmario233 Date: Fri, 13 Dec 2019 22:13:01 +0800 Subject: [PATCH] v1.9.96.3 --- card/standard.js | 125 ++++++++++++++++++++++++++--------------------- card/yunchou.js | 4 +- 2 files changed, 70 insertions(+), 59 deletions(-) diff --git a/card/standard.js b/card/standard.js index 5df3d19b4..7bcf648de 100644 --- a/card/standard.js +++ b/card/standard.js @@ -1713,6 +1713,7 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, fangtian_skill:{ equipSkill:true, + audio:true, mod:{ selectTarget:function(card,player,range){ if(card.name!='sha') return; @@ -1729,48 +1730,58 @@ game.import('card',function(lib,game,ui,get,ai,_status){ }, fangtian_guozhan:{ equipSkill:true, - trigger:{player:'useCard1'}, - silent:true, + trigger:{player:'useCard2'}, filter:function(event,player){ if(get.mode()!='guozhan') return false; - return event.card.name=='sha'&&event.targets&&event.targets.length>1; - }, - content:function(){ - player.addTempSkill('fangtian_guozhan_trigger'); - }, - mod:{ - selectTarget:function(card,player,range){ - if(card.name!='sha') return; - if(get.mode()!='guozhan') return; - if(range[1]==-1) return; - range[1]=Infinity; - }, - playerEnabled:function(card,player,target){ - if(card.name!='sha') return; - if(get.mode()!='guozhan') return; - var cardx=get.card(); - if(!cardx||cardx.name!='sha') return; - if(!ui.selected.targets.length) return; - if(target.identity=='ye'||target.identity=='unknown') return; - var targets=ui.selected.targets.slice(0); - for(var i=0;i