diff --git a/card/extra.js b/card/extra.js index 0ddaf2a6b..e38029dc5 100644 --- a/card/extra.js +++ b/card/extra.js @@ -18,7 +18,7 @@ card.extra={ return target==player; }, content:function(){ - if(target==_status.dying){ + if(target==_status.event.getParent(2).dying){ target.recover(); if(_status.currentPhase==target){ target.getStat().card.jiu--; diff --git a/card/swd.js b/card/swd.js index 09851ebbf..6e3081348 100644 --- a/card/swd.js +++ b/card/swd.js @@ -511,8 +511,11 @@ card.swd={ enable:true, type:'jiguan', wuxieable:true, - range:{global:1}, - filterTarget:true, + filterTarget:function(card,player,target){ + return target==player; + }, + selectTarget:-1, + modTarget:true, content:function(){ var list=get.typeCard('hslingjian'); if(list.length){ @@ -538,7 +541,6 @@ card.swd={ enable:true, type:'jiguan', wuxieable:true, - range:{global:1}, filterTarget:function(card,player,target){ var es=target.get('e'); for(var i=0;i