Update tw.js

This commit is contained in:
mengxinzxz 2023-08-22 16:15:31 +08:00 committed by GitHub
parent 4234b61eba
commit 005e6b7f96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2409,7 +2409,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
intro:{content:'已使用牌名:$'}, intro:{content:'已使用牌名:$'},
subSkill:{ subSkill:{
achieve:{ achieve:{
audio:'mibei', audio:'mibei1',
skillAnimation:true, skillAnimation:true,
animationColor:'water', animationColor:'water',
}, },
@ -2427,7 +2427,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
fail:{ fail:{
audio:'mibei', audio:'mibei2',
trigger:{player:'phaseUseEnd'}, trigger:{player:'phaseUseEnd'},
forced:true, forced:true,
filter:function(event,player){ filter:function(event,player){
@ -11190,7 +11190,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
direct:true, direct:true,
filter:function(event,player){ filter:function(event,player){
return player.getHistory('lose',function(evt){ return player.getHistory('lose',function(evt){
return evt.getParent(2).name=='twgezhi'&&evt.getParent('phaseUse')==event; return evt.getParent(3).name=='twgezhi'&&evt.getParent('phaseUse')==event;
}).length>1; }).length>1;
}, },
content:function(){ content:function(){