This commit is contained in:
libccy 2017-02-01 16:31:45 +08:00
parent ca467c1113
commit 6985dfc56d
9 changed files with 36 additions and 42 deletions

View File

@ -84,7 +84,6 @@ window.characterRank={
'swd_wangsiyue', 'swd_wangsiyue',
'swd_lanyin', 'swd_lanyin',
'swd_hengai', 'swd_hengai',
'jg_liubei',
're_huangyueying', 're_huangyueying',
'hs_bchillmaw', 'hs_bchillmaw',
'shen_zhugeliang', 'shen_zhugeliang',
@ -185,8 +184,6 @@ window.characterRank={
're_luxun', 're_luxun',
'pal_hanlingsha', 'pal_hanlingsha',
'hs_jaina', 'hs_jaina',
'jg_xiahouyuan',
'jg_pangtong',
'diy_liuyan', 'diy_liuyan',
'diy_zhouyu', 'diy_zhouyu',
'shen_zhouyu', 'shen_zhouyu',
@ -207,7 +204,6 @@ window.characterRank={
'caifuren', 'caifuren',
'yj_jushou', 'yj_jushou',
'hs_siwangzhiyi', 'hs_siwangzhiyi',
'jg_huangyueying',
'hs_bilanyoulong', 'hs_bilanyoulong',
'yxs_direnjie', 'yxs_direnjie',
'yxs_sunwu', 'yxs_sunwu',
@ -291,10 +287,8 @@ window.characterRank={
'gjqt_hongyu', 'gjqt_hongyu',
'gjqt_wenrenyu', 'gjqt_wenrenyu',
'shen_zhaoyun', 'shen_zhaoyun',
'jg_caozhen',
'swd_shangzhang', 'swd_shangzhang',
'swd_situqiang', 'swd_situqiang',
'jg_zhanghe',
'hs_mijiaojisi', 'hs_mijiaojisi',
'hs_malfurion', 'hs_malfurion',
'swd_haidapang', 'swd_haidapang',
@ -404,8 +398,6 @@ window.characterRank={
're_guojia', 're_guojia',
'ganfuren', 'ganfuren',
'hs_huzhixiannv', 'hs_huzhixiannv',
'jg_simayi',
'jg_zhugeliang',
'sp_sunshangxiang', 'sp_sunshangxiang',
're_lidian', 're_lidian',
'jiangqing', 'jiangqing',

View File

@ -30,8 +30,6 @@ window.noname_asset_list=[
'image/card/donghuangzhong.png', 'image/card/donghuangzhong.png',
'image/card/du.png', 'image/card/du.png',
'image/card/dujian.png', 'image/card/dujian.png',
'image/card/dujian1.png',
'image/card/dujian2.png',
'image/card/dunpaigedang.png', 'image/card/dunpaigedang.png',
'image/card/fangtian.png', 'image/card/fangtian.png',
'image/card/fengxueren.png', 'image/card/fengxueren.png',
@ -39,7 +37,6 @@ window.noname_asset_list=[
'image/card/fudichouxin.png', 'image/card/fudichouxin.png',
'image/card/fulingbing.png', 'image/card/fulingbing.png',
'image/card/fuxiqin.png', 'image/card/fuxiqin.png',
'image/card/fuxiqin2.png',
'image/card/gouhunluo.png', 'image/card/gouhunluo.png',
'image/card/guanshi.png', 'image/card/guanshi.png',
'image/card/guangshatianyi.png', 'image/card/guangshatianyi.png',
@ -380,14 +377,6 @@ window.noname_asset_list=[
'image/character/huangzhong.jpg', 'image/character/huangzhong.jpg',
'image/character/huatuo.jpg', 'image/character/huatuo.jpg',
'image/character/huaxiong.jpg', 'image/character/huaxiong.jpg',
'image/character/jg_caozhen.jpg',
'image/character/jg_huangyueying.jpg',
'image/character/jg_liubei.jpg',
'image/character/jg_pangtong.jpg',
'image/character/jg_simayi.jpg',
'image/character/jg_xiahouyuan.jpg',
'image/character/jg_zhanghe.jpg',
'image/character/jg_zhugeliang.jpg',
'image/character/jiangfei.jpg', 'image/character/jiangfei.jpg',
'image/character/jiangqing.jpg', 'image/character/jiangqing.jpg',
'image/character/jiangwei.jpg', 'image/character/jiangwei.jpg',
@ -670,11 +659,6 @@ window.noname_asset_list=[
'image/character/xin_xushu.jpg', 'image/character/xin_xushu.jpg',
'image/character/xin_yuji.jpg', 'image/character/xin_yuji.jpg',
'image/character/xin_yujin.jpg', 'image/character/xin_yujin.jpg',
'image/character/xk_dongfangweiming.jpg',
'image/character/xk_fujianhan.jpg',
'image/character/xk_guyuexuan.jpg',
'image/character/xk_jinji.jpg',
'image/character/xk_shenxiangyun.jpg',
'image/character/xuhuang.jpg', 'image/character/xuhuang.jpg',
'image/character/xunyou.jpg', 'image/character/xunyou.jpg',
'image/character/xunyu.jpg', 'image/character/xunyu.jpg',

View File

@ -25,7 +25,7 @@ window.config={
}, },
forbidchess:['hetaihou','swd_kangnalishi'], forbidchess:['hetaihou','swd_kangnalishi'],
forbidboss:['caiwenji','gjqt_aruan','pal_xuanxiao','swd_hupo'], forbidboss:['caiwenji','gjqt_aruan','pal_xuanxiao','swd_hupo'],
forbiddouble:['zhugedan','swd_kangnalishi','dongzhuo','wutugu','jg_simayi','hs_siwangzhiyi','hs_ronghejuren','hs_shanlingjuren'], forbiddouble:['zhugedan','swd_kangnalishi','dongzhuo','wutugu','hs_siwangzhiyi','hs_ronghejuren','hs_shanlingjuren'],
all:{ all:{
diymode:['stone','chess','boss','tafang'], diymode:['stone','chess','boss','tafang'],
diycharacter:['diy','yxs','hearth','swd','gujian','xianjian','boss','ow'], diycharacter:['diy','yxs','hearth','swd','gujian','xianjian','boss','ow'],

View File

@ -16888,7 +16888,9 @@
else{ else{
current2=current; current2=current;
} }
game.print(current); if(!lib.config.dev){
game.print(current.slice(current.lastIndexOf('/')+1));
}
game.download(current,current2,function(){ game.download(current,current2,function(){
if(onsuccess) onsuccess(list.length); if(onsuccess) onsuccess(list.length);
download(); download();
@ -25556,6 +25558,7 @@
var button=document.createElement('button'); var button=document.createElement('button');
button.innerHTML='重新启动'; button.innerHTML='重新启动';
button.onclick=game.reload; button.onclick=game.reload;
button.style.marginTop='8px';
p.appendChild(button); p.appendChild(button);
} }
game.multiDownload(updates,function(){ game.multiDownload(updates,function(){
@ -25718,6 +25721,9 @@
skipcard=skipcard.concat(pack); skipcard=skipcard.concat(pack);
} }
} }
if(lib.cardPack.mode_derivation){
skipcard=skipcard.concat(lib.cardPack.mode_derivation);
}
} }
for(var i=0;i<updates.length;i++){ for(var i=0;i<updates.length;i++){
switch(updates[i].slice(0,5)){ switch(updates[i].slice(0,5)){
@ -25727,7 +25733,9 @@
} }
else if(!lib.config.asset_full){ else if(!lib.config.asset_full){
if(updates[i].indexOf('image/character')==0){ if(updates[i].indexOf('image/character')==0){
if(skipcharacter.contains(updates[i].slice(16,updates[i].lastIndexOf('.')))){ var skipname=updates[i].slice(16,updates[i].lastIndexOf('.'));
if(skipcharacter.contains(skipname)||skipname.indexOf('pal_')==0||skipname.indexOf('swd_')==0||
skipname.indexOf('ow_')==0||skipname.indexOf('gjqt_')==0||skipname.indexOf('hs_')==0||skipname.indexOf('diy_')==0){
updates.splice(i--,1); updates.splice(i--,1);
} }
} }
@ -25784,6 +25792,19 @@
span1.remove(); span1.remove();
span2.remove(); span2.remove();
span2_check.remove(); span2_check.remove();
span3.remove();
span3_check.remove();
span4.remove();
span4_check.remove();
span5.remove();
span5_check.remove();
span6.remove();
span6_check.remove();
br1.remove();
br2.remove();
br3.remove();
br4.remove();
br5.remove();
p.appendChild(span); p.appendChild(span);
var finish=function(){ var finish=function(){
if(n1==n2){ if(n1==n2){
@ -25794,6 +25815,7 @@
var button=document.createElement('button'); var button=document.createElement('button');
button.innerHTML='重新启动'; button.innerHTML='重新启动';
button.onclick=game.reload; button.onclick=game.reload;
button.style.marginTop='8px';
p.appendChild(button); p.appendChild(button);
} }
game.multiDownload(updates,function(){ game.multiDownload(updates,function(){
@ -25870,7 +25892,8 @@
}) })
li2.lastChild.appendChild(span1); li2.lastChild.appendChild(span1);
li2.lastChild.appendChild(ui.create.node('br')); var br5=ui.create.node('br');
li2.lastChild.appendChild(br5);
var span5=ui.create.div('','图片素材'); var span5=ui.create.div('','图片素材');
span5.style.fontSize='small'; span5.style.fontSize='small';
@ -25885,7 +25908,8 @@
game.saveConfig('asset_image',this.checked); game.saveConfig('asset_image',this.checked);
} }
li2.lastChild.appendChild(span5_check); li2.lastChild.appendChild(span5_check);
li2.lastChild.appendChild(ui.create.node('br')); var br1=ui.create.node('br');
li2.lastChild.appendChild(br1);
var span4=ui.create.div('','字体素材'); var span4=ui.create.div('','字体素材');
span4.style.fontSize='small'; span4.style.fontSize='small';
@ -25900,7 +25924,8 @@
game.saveConfig('asset_font',this.checked); game.saveConfig('asset_font',this.checked);
} }
li2.lastChild.appendChild(span4_check); li2.lastChild.appendChild(span4_check);
li2.lastChild.appendChild(ui.create.node('br')); var br2=ui.create.node('br');
li2.lastChild.appendChild(br2);
var span3=ui.create.div('','音效素材'); var span3=ui.create.div('','音效素材');
span3.style.fontSize='small'; span3.style.fontSize='small';
@ -25915,7 +25940,8 @@
game.saveConfig('asset_audio',this.checked); game.saveConfig('asset_audio',this.checked);
} }
li2.lastChild.appendChild(span3_check); li2.lastChild.appendChild(span3_check);
li2.lastChild.appendChild(ui.create.node('br')); var br3=ui.create.node('br');
li2.lastChild.appendChild(br3);
var span2=ui.create.div('','皮肤素材'); var span2=ui.create.div('','皮肤素材');
span2.style.fontSize='small'; span2.style.fontSize='small';
@ -25930,7 +25956,8 @@
game.saveConfig('asset_skin',this.checked); game.saveConfig('asset_skin',this.checked);
} }
li2.lastChild.appendChild(span2_check); li2.lastChild.appendChild(span2_check);
li2.lastChild.appendChild(ui.create.node('br')); var br4=ui.create.node('br');
li2.lastChild.appendChild(br4);
var span6=ui.create.div('','图片素材(完整)'); var span6=ui.create.div('','图片素材(完整)');
span6.style.fontSize='small'; span6.style.fontSize='small';

View File

@ -29,6 +29,7 @@ window.noname_update={
// 'character/yxs.js', // 'character/yxs.js',
'character/yijiang.js', 'character/yijiang.js',
// 'mode/boss.js', // 'mode/boss.js',
'mode/chess.js',
'mode/versus.js', 'mode/versus.js',
'mode/guozhan.js', 'mode/guozhan.js',
'mode/identity.js', 'mode/identity.js',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -5559,7 +5559,6 @@ mode.chess={
'shen_lvbu', 'shen_lvbu',
'swd_qi', 'swd_qi',
'swd_huzhongxian', 'swd_huzhongxian',
'jg_liubei',
'hs_medivh', 'hs_medivh',
'shen_zhugeliang', 'shen_zhugeliang',
'yxs_wuzetian', 'yxs_wuzetian',
@ -5593,7 +5592,6 @@ mode.chess={
'zhugeguo', 'zhugeguo',
'sp_caiwenji', 'sp_caiwenji',
'ow_yuanshi', 'ow_yuanshi',
'xk_fujianhan',
'diy_zhenji', 'diy_zhenji',
'swd_jipeng', 'swd_jipeng',
'swd_cheyun', 'swd_cheyun',
@ -5622,10 +5620,8 @@ mode.chess={
're_zhouyu', 're_zhouyu',
'hs_wvelen', 'hs_wvelen',
'zhugeke', 'zhugeke',
'jg_xiahouyuan',
'swd_kama', 'swd_kama',
'swd_anka', 'swd_anka',
'xk_guyuexuan',
'caozhi', 'caozhi',
'wuguotai', 'wuguotai',
'yxs_aijiyanhou', 'yxs_aijiyanhou',
@ -5704,7 +5700,6 @@ mode.chess={
'hs_anduin', 'hs_anduin',
'swd_hengai', 'swd_hengai',
'hs_wuther', 'hs_wuther',
'jg_pangtong',
'lusu', 'lusu',
'bulianshi', 'bulianshi',
'swd_shuijing', 'swd_shuijing',
@ -5744,8 +5739,6 @@ mode.chess={
'xin_fazheng', 'xin_fazheng',
'caochong', 'caochong',
'caifuren', 'caifuren',
'jg_caozhen',
'jg_zhanghe',
'xin_masu', 'xin_masu',
'swd_situqiang', 'swd_situqiang',
'hs_malfurion', 'hs_malfurion',
@ -5778,9 +5771,6 @@ mode.chess={
'chenqun', 'chenqun',
'mifuren', 'mifuren',
'pal_linyueru', 'pal_linyueru',
'jg_simayi',
'jg_huangyueying',
'jg_zhugeliang',
'swd_jialanduo', 'swd_jialanduo',
'sp_machao', 'sp_machao',
'caiwenji', 'caiwenji',