v1.9.95.9.1

This commit is contained in:
Spmario233 2019-12-06 12:59:14 +08:00 committed by GitHub
parent a3fadfdc8a
commit fdbe56735d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View File

@ -564,6 +564,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
"drlt_huairou":{
audio:2,
enable:"phaseUse",
position:'he',
filter:function (event,player){
return player.countCards('he',{type:'equip'})>0;
},

View File

@ -95,12 +95,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
audioname:['re_caocao'],
unique:true,
zhuSkill:true,
trigger:{player:['chooseToRespondBegin','chooseToUse']},
trigger:{player:['chooseToRespondBegin','chooseToUseBefore']},
filter:function(event,player){
if(event.responded) return false;
if(player.storage.hujiaing) return false;
if(!player.hasZhuSkill('hujia')) return false;
if(event.filterCard({name:'shan'})==false) return false;
if(!event.filterCard({name:'shan'},player,event)) return false;
return game.hasPlayer(function(current){
return current!=player&&current.group=='wei';
});

View File

@ -1361,7 +1361,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
filter:function(event,player){
if(!player.isLinked()) return false;
if(event.responded) return false;
if(!event.filterCard({name:'shan'})) return false;
if(!event.filterCard({name:'shan'},player,event)) return false;
return true;
},
check:function(event,player){

View File

@ -2363,7 +2363,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
trigger:{player:['chooseToRespondBegin','chooseToUseBegin']},
filter:function(event,player){
if(event.responded) return false;
if(!event.filterCard({name:'shan'})) return false;
if(!event.filterCard({name:'shan'},player,event)) return false;
return player.countCards('h','shan')>0;
},
direct:true,