This commit is contained in:
libccy 2016-05-15 00:18:08 +08:00
parent a211a73d67
commit a5ec924a8b
4 changed files with 18 additions and 5 deletions

View File

@ -15685,6 +15685,15 @@
}
lib.cardPack[packname].push(name);
},
addSkill:function(name,info,translate,description){
if(lib.skill[name]){
return false;
}
lib.skill[name]=info;
lib.translate[name]=translate;
lib.translate[name+'_info']=description;
return true;
},
addMode:function(name,info,info2){
lib.config.all.mode.push(name);
lib.translate[name]=info2.translate;
@ -20723,7 +20732,7 @@
throw('err');
}
_status.importingExtension=true;
lib.init.js('extension/'+name,'extension',function(){
lib.init.js('extension/'+extname,'extension',function(){
_status.importingExtension=false;
if(!game.importedPack) throw('err');
if(lib.config.extensions.contains(extname)){
@ -20801,6 +20810,10 @@
ui.create.div('.text.author','作者:'+list[i].author,node);
ui.create.div('.text',list[i].description,node);
var download=ui.create.div('.menubutton.text.active','下载扩展',node.firstChild,downloadExtension);
if(lib.config.extensions.contains(list[i].name)){
download.classList.add('transparent2');
download.innerHTML='已安装';
}
download.link=i;
download.name=list[i].name;
download.files=list[i].files;

View File

@ -1,7 +1,6 @@
window.noname_update={
version:'1.8.9',
version:'1.8.10',
changeLog:[
'新武将',
'sp、一将联机'
'扩展改进'
]
}

View File

@ -410,6 +410,7 @@ body>.background{z-index:-5}
.removing,.hidden{opacity: 0 !important;}
#system>div>div.hidden{opacity:0.5 !important;}
.transparent{opacity: 0.3 !important;}
.transparent2{opacity: 0.6 !important;}
.out{opacity: 0.3 !important;
filter:blur(3px);
-webkit-filter:blur(3px)

View File

@ -6,7 +6,7 @@ mode.connect={
game.saveConfig('hall_ip_186');
game.saveConfig('hall_ip_188');
game.saveConfig('hall_ip_189',true);
localStorage.setItem('noname_update_url',lib.hallURL);
localStorage.setItem('noname_update_url','http://'+lib.hallURL);
}
var directstartmode=lib.config.directstartmode;
ui.create.menu(true);