parent
5b90d01ae3
commit
7d048e6816
|
@ -34,14 +34,7 @@ card.sp={
|
||||||
ai:{
|
ai:{
|
||||||
value:-5,
|
value:-5,
|
||||||
useful:6,
|
useful:6,
|
||||||
},
|
}
|
||||||
enable:true,
|
|
||||||
filterTarget:function(card,player,target){
|
|
||||||
return target==player;
|
|
||||||
},
|
|
||||||
delay:false,
|
|
||||||
content:function(){},
|
|
||||||
selectTarget:-1
|
|
||||||
},
|
},
|
||||||
shengdong:{
|
shengdong:{
|
||||||
fullskin:true,
|
fullskin:true,
|
||||||
|
|
26
game/game.js
26
game/game.js
|
@ -3861,19 +3861,6 @@
|
||||||
var ia=connect_avatar_list[i];
|
var ia=connect_avatar_list[i];
|
||||||
lib.mode.connect.config.connect_avatar.item[ia]=lib.translate[ia];
|
lib.mode.connect.config.connect_avatar.item[ia]=lib.translate[ia];
|
||||||
}
|
}
|
||||||
if(lib.cardPack.mode_derivation){
|
|
||||||
for(var i=0;i<lib.cardPack.mode_derivation.length;i++){
|
|
||||||
if(typeof lib.card[lib.cardPack.mode_derivation[i]].derivation=='string'&&!lib.character[lib.card[lib.cardPack.mode_derivation[i]].derivation]){
|
|
||||||
lib.cardPack.mode_derivation.splice(i--,1);
|
|
||||||
}
|
|
||||||
else if(typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack=='string'&&!){
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(lib.cardPack.mode_derivation.length==0){
|
|
||||||
delete lib.cardPack.mode_derivation;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(lib.config.mode!='connect'){
|
if(lib.config.mode!='connect'){
|
||||||
var pilecfg=lib.config.customcardpile[get.config('cardpilename')];
|
var pilecfg=lib.config.customcardpile[get.config('cardpilename')];
|
||||||
if(pilecfg){
|
if(pilecfg){
|
||||||
|
@ -3955,6 +3942,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(lib.cardPack.mode_derivation){
|
||||||
|
for(var i=0;i<lib.cardPack.mode_derivation.length;i++){
|
||||||
|
if(typeof lib.card[lib.cardPack.mode_derivation[i]].derivation=='string'&&!lib.character[lib.card[lib.cardPack.mode_derivation[i]].derivation]){
|
||||||
|
lib.cardPack.mode_derivation.splice(i--,1);
|
||||||
|
}
|
||||||
|
else if(typeof lib.card[lib.cardPack.mode_derivation[i]].derivationpack=='string'&&!lib.config.cards.contains(lib.card[lib.cardPack.mode_derivation[i]].derivationpack)){
|
||||||
|
lib.cardPack.mode_derivation.splice(i--,1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(lib.cardPack.mode_derivation.length==0){
|
||||||
|
delete lib.cardPack.mode_derivation;
|
||||||
|
}
|
||||||
|
}
|
||||||
for(i in play){
|
for(i in play){
|
||||||
if(lib.config.hiddenPlayPack.contains(i)) continue;
|
if(lib.config.hiddenPlayPack.contains(i)) continue;
|
||||||
if(play[i].forbid&&play[i].forbid.contains(lib.config.mode)) continue;
|
if(play[i].forbid&&play[i].forbid.contains(lib.config.mode)) continue;
|
||||||
|
|
|
@ -6,8 +6,7 @@ window.noname_update={
|
||||||
files:{
|
files:{
|
||||||
global:[
|
global:[
|
||||||
'game/game.js',
|
'game/game.js',
|
||||||
'card/swd.js',
|
'card/swd.js'
|
||||||
'card/sp.js'
|
|
||||||
],
|
],
|
||||||
'1.8.16.3':[]
|
'1.8.16.3':[]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue