Add files via upload
This commit is contained in:
parent
26771548ab
commit
aae0339d7a
|
@ -23466,13 +23466,14 @@
|
||||||
filterCard:function(card,player,event){
|
filterCard:function(card,player,event){
|
||||||
var info=get.info(card);
|
var info=get.info(card);
|
||||||
//if(info.toself&&!lib.filter.targetEnabled(card,player,player)) return false;
|
//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;
|
var filterTarget=(event&&event.filterTarget)?event.filterTarget:lib.filter.filterTarget;
|
||||||
return (lib.filter.cardEnabled(card,player,event)&&
|
return (lib.filter.cardEnabled(card,player,event)&&
|
||||||
lib.filter.cardUsable(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);
|
return filterTarget(card,player,current);
|
||||||
}))
|
}))
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
targetEnabled:function(card,player,target){
|
targetEnabled:function(card,player,target){
|
||||||
if(!card) return false;
|
if(!card) return false;
|
||||||
|
@ -23754,6 +23755,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
autoswap:{
|
autoswap:{
|
||||||
|
firstDo:true,
|
||||||
trigger:{player:['playercontrol','chooseToUseBegin','chooseToRespondBegin','chooseToDiscardBegin','chooseToCompareBegin',
|
trigger:{player:['playercontrol','chooseToUseBegin','chooseToRespondBegin','chooseToDiscardBegin','chooseToCompareBegin',
|
||||||
'chooseButtonBegin','chooseCardBegin','chooseTargetBegin','chooseCardTargetBegin','chooseControlBegin',
|
'chooseButtonBegin','chooseCardBegin','chooseTargetBegin','chooseCardTargetBegin','chooseControlBegin',
|
||||||
'chooseBoolBegin','choosePlayerCardBegin','discardPlayerCardBegin','gainPlayerCardBegin']},
|
'chooseBoolBegin','choosePlayerCardBegin','discardPlayerCardBegin','gainPlayerCardBegin']},
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
window.noname_update={
|
window.noname_update={
|
||||||
version:'1.9.96.7.1',
|
version:'1.9.96.7.2',
|
||||||
update:'1.9.96.7',
|
update:'1.9.96.7.1',
|
||||||
changeLog:[
|
changeLog:[
|
||||||
'BUG修复',
|
'BUG修复',
|
||||||
],
|
],
|
||||||
files:[
|
files:[
|
||||||
//'card/extra.js',
|
'card/extra.js',
|
||||||
//'card/huanlekapai.js',
|
//'card/huanlekapai.js',
|
||||||
//'card/sp.js',
|
//'card/sp.js',
|
||||||
'card/standard.js',
|
//'card/standard.js',
|
||||||
//'card/swd.js',
|
//'card/swd.js',
|
||||||
'card/guozhan.js',
|
//'card/guozhan.js',
|
||||||
//'card/gwent.js',
|
//'card/gwent.js',
|
||||||
//'character/diy.js',
|
//'character/diy.js',
|
||||||
//'character/extra.js',
|
//'character/extra.js',
|
||||||
|
@ -20,15 +20,15 @@ window.noname_update={
|
||||||
//'character/mobile.js',
|
//'character/mobile.js',
|
||||||
//'character/mtg.js',
|
//'character/mtg.js',
|
||||||
//'character/old.js',
|
//'character/old.js',
|
||||||
'character/refresh.js',
|
//'character/refresh.js',
|
||||||
//'character/shenhua.js',
|
'character/shenhua.js',
|
||||||
'character/sp.js',
|
//'character/sp.js',
|
||||||
//'character/tw.js',
|
//'character/tw.js',
|
||||||
//'character/standard.js',
|
//'character/standard.js',
|
||||||
//'character/swd.js',
|
//'character/swd.js',
|
||||||
//'character/xianjian.js',
|
//'character/xianjian.js',
|
||||||
'character/xinghuoliaoyuan.js',
|
//'character/xinghuoliaoyuan.js',
|
||||||
'character/yijiang.js',
|
//'character/yijiang.js',
|
||||||
//'character/yxs.js',
|
//'character/yxs.js',
|
||||||
//'extension/boss/extension.js',
|
//'extension/boss/extension.js',
|
||||||
//'layout/default/layout.css',
|
//'layout/default/layout.css',
|
||||||
|
@ -37,7 +37,7 @@ window.noname_update={
|
||||||
//'mode/guozhan.js',
|
//'mode/guozhan.js',
|
||||||
//'mode/single.js',
|
//'mode/single.js',
|
||||||
//'mode/stone.js',
|
//'mode/stone.js',
|
||||||
//'mode/versus.js',
|
'mode/versus.js',
|
||||||
//'mode/boss.js',
|
//'mode/boss.js',
|
||||||
'game/game.js',
|
'game/game.js',
|
||||||
//'game/config.js',
|
//'game/config.js',
|
||||||
|
|
Loading…
Reference in New Issue