承包重铸相关技能更新

This commit is contained in:
copcap 2023-08-22 11:55:04 +08:00
parent 76a1dd00aa
commit 0b43d74cf1
No known key found for this signature in database
GPG Key ID: 9AE7B8AF097EC926
1 changed files with 2 additions and 7 deletions

View File

@ -1466,11 +1466,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filter:function(event,player){
return player.group=='qun';
},
filterCard:function(card,player){
var mod=game.checkMod(card,player,'unchanged','cardChongzhuable',player);
if(!mod) return false;
return true;
},
filterCard:lib.filter.cardRecastable,
check:function(card,player){
var val=5+['shan','tao'].contains(get.name(card))*1.5;
if(player.needsToDiscard()>2&&get.name(card)=='sha'&&player.countCards('hs','sha')>1) val+=0.5;
@ -1483,8 +1479,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
delay:false,
content:function(){
'step 0'
player.loseToDiscardpile(cards);
player.draw();
player.recast(cards);
switch(get.name(cards[0])){
case 'sha':
player.addTempSkill('jsrgzhengbing_sha');