修复【灵策】【介绫】【谋观星】bug
This commit is contained in:
parent
f2b952eb57
commit
0a0fa7e023
|
@ -3413,7 +3413,8 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
trigger:{global:'useCard'},
|
||||
forced:true,
|
||||
filter:function(event,player){
|
||||
return (event.card.name=='qizhengxiangsheng'||get.zhinangs().includes(event.card.name)||player.getStorage('dinghan').includes(event.card.name))&&event.card.isCard&&event.cards.length==1;
|
||||
if(!event.card.isCard||!event.cards||event.cards.length!==1) return false;
|
||||
return event.card.name=='qizhengxiangsheng'||get.zhinangs().includes(event.card.name)||player.getStorage('dinghan').includes(event.card.name);
|
||||
},
|
||||
content:function(){
|
||||
player.draw();
|
||||
|
|
|
@ -2179,6 +2179,19 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
count:{
|
||||
intro:{
|
||||
content:function(s,p){
|
||||
let str='此阶段已转化过的卡牌花色:';
|
||||
for(let i=0;i<s.length;i++){
|
||||
str+=get.translation(s[i]);
|
||||
}
|
||||
return str;
|
||||
}
|
||||
},
|
||||
charlotte:true,
|
||||
onremove:true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -749,7 +749,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
|||
audio:2,
|
||||
trigger:{player:['phaseZhunbeiBegin','phaseJieshuBegin']},
|
||||
filter:function(event,player){
|
||||
var bool=player.hasCards(card=>card.hasGaintag('sbguanxing'),'s');
|
||||
var bool=player.hasCard(card=>card.hasGaintag('sbguanxing'),'s');
|
||||
if(event.name=='phaseZhunbei'){
|
||||
var num=player.countMark('sbguanxingx');
|
||||
return bool||num<=3;
|
||||
|
|
Loading…
Reference in New Issue