v1.9.95.9.2

This commit is contained in:
Spmario233 2019-12-06 23:41:25 +08:00 committed by GitHub
parent cce2bf7fbf
commit 6542e1a25d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 44 deletions

View File

@ -9108,57 +9108,19 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
}, },
stonesha:{ stonesha:{
unique:true, unique:true,
enable:['chooseToUse','chooseToRespond'], mod:{
filterCard:{type:'equip'}, cardname:function(card){
viewAs:{name:'sha'}, if(lib.card[card.name].type=='equip') return 'sha';
nopop:true,
check:function(){return 1},
filter:function(event,player){
return player.countCards('h',{type:'equip'})>0;
},
viewAsFilter:function(player){
return player.countCards('h',{type:'equip'})>0;
},
ai:{
skillTagFilter:function(player){
return player.countCards('h',{type:'equip'})>0;
}, },
respondSha:true, },
order:4,
useful:-1,
value:-1
}
}, },
stoneshan:{ stoneshan:{
unique:true, unique:true,
enable:['chooseToRespond'],
viewAs:{name:'shan'},
filterCard:{type:['stonecharacter','stonecard']},
mod:{ mod:{
cardEnabled:function(card){ cardname:function(card){
if(get.type(card)=='stonecard') return false; if(lib.card[card.name].type.indexOf('stone')==0) return 'shan';
},
cardSavable:function(card){
if(get.type(card)=='stonecard') return false;
}, },
}, },
nopop:true,
check:function(){return 1},
filter:function(event,player){
return player.countCards('h',{type:['stonecharacter','stonecard']})>0;
},
viewAsFilter:function(player){
return player.countCards('h',{type:['stonecharacter','stonecard']})>0;
},
ai:{
skillTagFilter:function(player){
return player.countCards('h',{type:['stonecharacter','stonecard']})>0;
},
respondShan:true,
order:4,
useful:-1,
value:-1
}
}, },
stonedraw:{ stonedraw:{
trigger:{player:'phaseDrawBegin'}, trigger:{player:'phaseDrawBegin'},