界钟会【权计】时机bugfix

This commit is contained in:
mengxinzxz 2023-12-03 08:19:07 +08:00
parent 920445e027
commit 9b71783265
1 changed files with 3 additions and 3 deletions

View File

@ -5556,10 +5556,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
xinquanji:{ xinquanji:{
audio:2, audio:2,
trigger:{ trigger:{
global:'gainAfter', player:['damageEnd','gainAfter'],
player:['damageEnd','loseAsyncAfter'], global:'loseAsyncAfter',
}, },
frequent:true,
filter:function(event,player){ filter:function(event,player){
if(event.name=='damage') return true; if(event.name=='damage') return true;
if(event.name=='loseAsync'){ if(event.name=='loseAsync'){
@ -5579,6 +5578,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var evt=event.getl(player); var evt=event.getl(player);
return evt&&evt.cards2&&evt.cards2.length>0; return evt&&evt.cards2&&evt.cards2.length>0;
}, },
frequent:true,
content:function(){ content:function(){
'step 0' 'step 0'
event.count=(trigger.name=='damage'?trigger.num:1); event.count=(trigger.name=='damage'?trigger.num:1);