This commit is contained in:
PZ157 2023-11-24 21:30:09 +08:00
parent 11cdf9c601
commit dd6ca1c6b4
2 changed files with 5 additions and 3 deletions

View File

@ -2856,7 +2856,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
},
nokeep:true,
skillTagFilter:function(player,tag,arg){
if(tag==='nokeep') return (!arg||arg.card&&get.name(arg.card)==='tao')&&player.isPhaseUsing()&&player.countSkill('rezhanjue_draw')<3&&player.hasCard((card)=>get.name(card)!='tao'&&!card.hasGaintag('reqinwang'),'h');
if(tag==='nokeep') return (!arg||arg.card&&get.name(arg.card)==='tao')&&player.isPhaseUsing()&&player.countSkill('rezhanjue_draw')<3&&player.hasCard((card)=>{
return get.name(card)!=='tao'&&!card.hasGaintag('reqinwang');
},'h');
}
},
},

View File

@ -1388,10 +1388,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}
},
cardname:function(card){
if(card.hasGaintag('kousheng')) return 'sha';
if(get.itemtype(card)=='card'&&card.hasGaintag('kousheng')) return 'sha';
},
cardnature:function(card){
if(card.hasGaintag('kousheng')) return false;
if(get.itemtype(card)=='card'&&card.hasGaintag('kousheng')) return false;
},
},
group:'kousheng_damage',