修复庞山民【才思】发动次数bug
This commit is contained in:
parent
0ae14585dc
commit
37d8667b45
|
@ -757,7 +757,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
|
||||||
trigger:{player:'useCardAfter'},
|
trigger:{player:'useCardAfter'},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
if(get.type(event.card)!='basic') return false;
|
if(get.type(event.card)!='basic') return false;
|
||||||
if(player.getHistory('gain',evt=>evt.getParent().name=='dccaisi').length>player.maxHp) return false;
|
if(player.getHistory('gain',evt=>{
|
||||||
|
return evt.getParent().name==='dccaisi';
|
||||||
|
}).reduce((num,evt)=>{
|
||||||
|
return num+evt.cards.length;
|
||||||
|
},0)>player.maxHp) return false;
|
||||||
return _status.currentPhase;
|
return _status.currentPhase;
|
||||||
},
|
},
|
||||||
prompt2:function(event,player){
|
prompt2:function(event,player){
|
||||||
|
|
Loading…
Reference in New Issue