This commit is contained in:
parent
4a580d107d
commit
84f6bcc586
|
@ -751,8 +751,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
var bool=player.hasCard(card=>card.hasGaintag('sbguanxing'),'s');
|
var bool=player.hasCard(card=>card.hasGaintag('sbguanxing'),'s');
|
||||||
if(event.name=='phaseZhunbei'){
|
if(event.name=='phaseZhunbei'){
|
||||||
var num=player.countMark('sbguanxingx');
|
return bool||7-lib.skill.sbguanxing.getNum*player.countMark('sbguanxingx')>0;
|
||||||
return bool||num<=2;
|
|
||||||
}
|
}
|
||||||
return bool&&player.hasSkill('sbguanxing_on');
|
return bool&&player.hasSkill('sbguanxing_on');
|
||||||
},
|
},
|
||||||
|
@ -768,7 +767,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
var cards=player.getCards('s',card=>card.hasGaintag('sbguanxing'));
|
var cards=player.getCards('s',card=>card.hasGaintag('sbguanxing'));
|
||||||
if(cards.length) player.loseToDiscardpile(cards);
|
if(cards.length) player.loseToDiscardpile(cards);
|
||||||
var num=player.countMark('sbguanxingx')-1;
|
var num=player.countMark('sbguanxingx')-1;
|
||||||
event.num=Math.max(0,7-3*num);
|
event.num=Math.max(0,7-lib.skill.sbguanxing.getNum*num);
|
||||||
'step 1'
|
'step 1'
|
||||||
if(num){
|
if(num){
|
||||||
var cards2=get.cards(num);
|
var cards2=get.cards(num);
|
||||||
|
@ -811,6 +810,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
else if(trigger.name=='phaseZhunbei') player.addTempSkill('sbguanxing_on');
|
else if(trigger.name=='phaseZhunbei') player.addTempSkill('sbguanxing_on');
|
||||||
},
|
},
|
||||||
|
getNum:3,
|
||||||
group:'sbguanxing_unmark',
|
group:'sbguanxing_unmark',
|
||||||
subSkill:{
|
subSkill:{
|
||||||
on:{charlotte:true},
|
on:{charlotte:true},
|
||||||
|
|
Loading…
Reference in New Issue