bugfix
This commit is contained in:
parent
88eea6dbb6
commit
94148188bc
|
@ -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');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue