界钟会【权计】时机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:{
audio:2,
trigger:{
global:'gainAfter',
player:['damageEnd','loseAsyncAfter'],
player:['damageEnd','gainAfter'],
global:'loseAsyncAfter',
},
frequent:true,
filter:function(event,player){
if(event.name=='damage') return true;
if(event.name=='loseAsync'){
@ -5579,6 +5578,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var evt=event.getl(player);
return evt&&evt.cards2&&evt.cards2.length>0;
},
frequent:true,
content:function(){
'step 0'
event.count=(trigger.name=='damage'?trigger.num:1);