v1.9.95.9

This commit is contained in:
Spmario233 2019-12-05 23:18:46 +08:00 committed by GitHub
parent ceee9f888e
commit cd2da9e575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 46 deletions

View File

@ -2613,44 +2613,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
forced:true,
global:'boss_shedu',
mod:{
cardEnabled:function (card,player){
if(_status.event.skill!='boss_duqu_sha'&&get.owner(card)!=undefined&&card.name=='tao') return false;
},
cardUsable:function (card,player){
if(_status.event.skill!='boss_duqu_sha'&&get.owner(card)!=undefined&&card.name=='tao') return false;
},
cardRespondable:function (card,player){
if(_status.event.skill!='boss_duqu_sha'&&get.owner(card)!=undefined&&card.name=='tao') return false;
},
cardSavable:function (card,player){
if(_status.event.skill!='boss_duqu_sha'&&get.owner(card)!=undefined&&card.name=='tao') return false;
},
},
group:["boss_duqu_sha"],
subSkill:{
sha:{
enable:["chooseToUse","chooseToRespond"],
filterCard:{
name:"tao",
},
viewAs:{
name:"sha",
},
viewAsFilter:function (player){
if(!player.countCards('h','tao')) return false;
},
prompt:"将一张桃当杀使用或打出",
check:function (){return 1},
ai:{
respondSha:true,
skillTagFilter:function (player){
if(!player.countCards('h','tao')) return false;
},
order:function (){
return get.order({name:'sha'})-0.1;
},
},
sub:true,
cardname:function (card,player){
if(card.name=='tao') return 'sha';
},
},
},
@ -5875,7 +5839,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}
},
yunshen:{
trigger:{player:'respond'},
trigger:{player:['respond','useCard']},
filter:function(event,player){
return event.card.name=='shan';
},
@ -5928,7 +5892,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
lingbo:{
audio:2,
trigger:{player:'respond'},
trigger:{player:['respond','useCard']},
filter:function(event,player){
return event.card.name=='shan';
},
@ -6831,7 +6795,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
boss_leiji:{
audio:2,
trigger:{player:'respond'},
trigger:{player:['respond','useCard']},
filter:function(event,player){
return event.card.name=='shan';
},

View File

@ -2401,14 +2401,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
shan:{
audio:"longdan_shan",
enable:["chooseToRespond"],
enable:['chooseToRespond','chooseToUse'],
filterCard:{
name:"sha",
},
viewAs:{
name:"shan",
},
prompt:"将一张杀当闪打出",
prompt:"将一张杀当闪使用或打出",
check:function (){return 1},
viewAsFilter:function (player){
if(!player.countCards('h','sha')) return false;
@ -3202,7 +3202,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
sub:true,
},
shan:{
enable:["chooseToRespond"],
enable:["chooseToRespond","chooseToUse"],
filterCard:{
name:"tao",
},

View File

@ -1082,13 +1082,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
},
sgqingguo:{
audio:'qingguo',
enable:['chooseToRespond'],
enable:['chooseToRespond','chooseToUse'],
filterCard:true,
viewAs:{name:'shan'},
viewAsFilter:function(player){
if(!player.countCards('e')) return false;
},
prompt:'将一张装备区中的牌当闪打出',
prompt:'将一张装备区中的牌当闪使用或打出',
position:'e',
check:function(){return 1},
ai:{