v1.9.95.9
This commit is contained in:
parent
ceee9f888e
commit
cd2da9e575
46
mode/boss.js
46
mode/boss.js
|
@ -2613,44 +2613,8 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
forced:true,
|
forced:true,
|
||||||
global:'boss_shedu',
|
global:'boss_shedu',
|
||||||
mod:{
|
mod:{
|
||||||
cardEnabled:function (card,player){
|
cardname:function (card,player){
|
||||||
if(_status.event.skill!='boss_duqu_sha'&&get.owner(card)!=undefined&&card.name=='tao') return false;
|
if(card.name=='tao') return 'sha';
|
||||||
},
|
|
||||||
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,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -5875,7 +5839,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
yunshen:{
|
yunshen:{
|
||||||
trigger:{player:'respond'},
|
trigger:{player:['respond','useCard']},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.card.name=='shan';
|
return event.card.name=='shan';
|
||||||
},
|
},
|
||||||
|
@ -5928,7 +5892,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
lingbo:{
|
lingbo:{
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{player:'respond'},
|
trigger:{player:['respond','useCard']},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.card.name=='shan';
|
return event.card.name=='shan';
|
||||||
},
|
},
|
||||||
|
@ -6831,7 +6795,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
boss_leiji:{
|
boss_leiji:{
|
||||||
audio:2,
|
audio:2,
|
||||||
trigger:{player:'respond'},
|
trigger:{player:['respond','useCard']},
|
||||||
filter:function(event,player){
|
filter:function(event,player){
|
||||||
return event.card.name=='shan';
|
return event.card.name=='shan';
|
||||||
},
|
},
|
||||||
|
|
|
@ -2401,14 +2401,14 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
shan:{
|
shan:{
|
||||||
audio:"longdan_shan",
|
audio:"longdan_shan",
|
||||||
enable:["chooseToRespond"],
|
enable:['chooseToRespond','chooseToUse'],
|
||||||
filterCard:{
|
filterCard:{
|
||||||
name:"sha",
|
name:"sha",
|
||||||
},
|
},
|
||||||
viewAs:{
|
viewAs:{
|
||||||
name:"shan",
|
name:"shan",
|
||||||
},
|
},
|
||||||
prompt:"将一张杀当闪打出",
|
prompt:"将一张杀当闪使用或打出",
|
||||||
check:function (){return 1},
|
check:function (){return 1},
|
||||||
viewAsFilter:function (player){
|
viewAsFilter:function (player){
|
||||||
if(!player.countCards('h','sha')) return false;
|
if(!player.countCards('h','sha')) return false;
|
||||||
|
@ -3202,7 +3202,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
sub:true,
|
sub:true,
|
||||||
},
|
},
|
||||||
shan:{
|
shan:{
|
||||||
enable:["chooseToRespond"],
|
enable:["chooseToRespond","chooseToUse"],
|
||||||
filterCard:{
|
filterCard:{
|
||||||
name:"tao",
|
name:"tao",
|
||||||
},
|
},
|
||||||
|
|
|
@ -1082,13 +1082,13 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
},
|
},
|
||||||
sgqingguo:{
|
sgqingguo:{
|
||||||
audio:'qingguo',
|
audio:'qingguo',
|
||||||
enable:['chooseToRespond'],
|
enable:['chooseToRespond','chooseToUse'],
|
||||||
filterCard:true,
|
filterCard:true,
|
||||||
viewAs:{name:'shan'},
|
viewAs:{name:'shan'},
|
||||||
viewAsFilter:function(player){
|
viewAsFilter:function(player){
|
||||||
if(!player.countCards('e')) return false;
|
if(!player.countCards('e')) return false;
|
||||||
},
|
},
|
||||||
prompt:'将一张装备区中的牌当闪打出',
|
prompt:'将一张装备区中的牌当闪使用或打出',
|
||||||
position:'e',
|
position:'e',
|
||||||
check:function(){return 1},
|
check:function(){return 1},
|
||||||
ai:{
|
ai:{
|
||||||
|
|
Loading…
Reference in New Issue