This commit is contained in:
mengxinzxz 2023-09-14 20:36:20 +08:00 committed by GitHub
parent 88eea6dbb6
commit 94148188bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -20,7 +20,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
}, },
character:{ character:{
tw_zhangzhao:['male','wu',3,['twlijian','twchungang'],['unseen']], tw_zhangzhao:['male','wu',3,['twlijian','twchungang'],[]],
tw_ol_sunjian:['male','wu','4/5',['gzyinghun','wulie','twpolu'],['zhu']], tw_ol_sunjian:['male','wu','4/5',['gzyinghun','wulie','twpolu'],['zhu']],
tw_menghuo:['male','qun',4,['huoshou','rezaiqi','twqiushou'],['zhu']], tw_menghuo:['male','qun',4,['huoshou','rezaiqi','twqiushou'],['zhu']],
ol_liuyu:['male','qun',2,['zongzuo','zhige','twchongwang'],['zhu']], ol_liuyu:['male','qun',2,['zongzuo','zhige','twchongwang'],['zhu']],
@ -411,14 +411,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
}, },
twchungang:{ twchungang:{
audio:2, audio:2,
trigger:{ trigger:{global:['gainAfter','loseAsyncAfter']},
player:'gainAfter',
global:'loseAsyncAfter',
},
filter:function(event,player){ filter:function(event,player){
var evt=event.getParent('phaseDraw'); var evt=event.getParent('phaseDraw');
return game.hasPlayer(target=>{ return game.hasPlayer(target=>{
if(target==player||evt&&evt.player==target) return false; if(target==player||(evt&&evt.player==target)) return false;
return event.getg(target).length>1&&target.countCards('he'); return event.getg(target).length>1&&target.countCards('he');
}); });
}, },