Add files via upload

This commit is contained in:
Spmario233 2019-12-30 13:10:07 +08:00 committed by GitHub
parent 26771548ab
commit aae0339d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 13 deletions

View File

@ -23466,13 +23466,14 @@
filterCard:function(card,player,event){
var info=get.info(card);
//if(info.toself&&!lib.filter.targetEnabled(card,player,player)) return false;
if(player==undefined) player=_status.event.player;
var filterTarget=(event&&event.filterTarget)?event.filterTarget:lib.filter.filterTarget;
return (lib.filter.cardEnabled(card,player,event)&&
lib.filter.cardUsable(card,player,event)&&
(info.notarget||game.hasPlayer(function(current){
(info.notarget||!player||game.hasPlayer(function(current){
return filterTarget(card,player,current);
}))
);
);
},
targetEnabled:function(card,player,target){
if(!card) return false;
@ -23754,6 +23755,7 @@
}
},
autoswap:{
firstDo:true,
trigger:{player:['playercontrol','chooseToUseBegin','chooseToRespondBegin','chooseToDiscardBegin','chooseToCompareBegin',
'chooseButtonBegin','chooseCardBegin','chooseTargetBegin','chooseCardTargetBegin','chooseControlBegin',
'chooseBoolBegin','choosePlayerCardBegin','discardPlayerCardBegin','gainPlayerCardBegin']},

View File

@ -1,16 +1,16 @@
window.noname_update={
version:'1.9.96.7.1',
update:'1.9.96.7',
version:'1.9.96.7.2',
update:'1.9.96.7.1',
changeLog:[
'BUG修复',
],
files:[
//'card/extra.js',
'card/extra.js',
//'card/huanlekapai.js',
//'card/sp.js',
'card/standard.js',
//'card/standard.js',
//'card/swd.js',
'card/guozhan.js',
//'card/guozhan.js',
//'card/gwent.js',
//'character/diy.js',
//'character/extra.js',
@ -20,15 +20,15 @@ window.noname_update={
//'character/mobile.js',
//'character/mtg.js',
//'character/old.js',
'character/refresh.js',
//'character/shenhua.js',
'character/sp.js',
//'character/refresh.js',
'character/shenhua.js',
//'character/sp.js',
//'character/tw.js',
//'character/standard.js',
//'character/swd.js',
//'character/xianjian.js',
'character/xinghuoliaoyuan.js',
'character/yijiang.js',
//'character/xinghuoliaoyuan.js',
//'character/yijiang.js',
//'character/yxs.js',
//'extension/boss/extension.js',
//'layout/default/layout.css',
@ -37,7 +37,7 @@ window.noname_update={
//'mode/guozhan.js',
//'mode/single.js',
//'mode/stone.js',
//'mode/versus.js',
'mode/versus.js',
//'mode/boss.js',
'game/game.js',
//'game/config.js',