This commit is contained in:
parent
272e71c1ef
commit
1aa26ed0a6
|
@ -26,7 +26,6 @@ window.config={
|
|||
forbidchess:['hetaihou','swd_kangnalishi'],
|
||||
forbidboss:['caiwenji','gjqt_aruan','pal_xuanxiao','swd_hupo'],
|
||||
forbiddouble:['zhugedan','swd_kangnalishi','dongzhuo','wutugu','jg_simayi','hs_siwangzhiyi','hs_ronghejuren','hs_shanlingjuren'],
|
||||
layoutfixed:['chess','stone'],
|
||||
all:{
|
||||
stockmode:['identity','guozhan','versus','boss','chess','stone','connect','brawl','tafang','hearthstone'],
|
||||
stockextension:['boss','cardpile','character','coin','soldier','weather','wuxing','hs_mod'],
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
cardType:{},
|
||||
hook:{globaltrigger:{},globalskill:{}},
|
||||
hookmap:{},
|
||||
layoutfixed:['chess','stone'],
|
||||
characterDialogGroup:{
|
||||
'收藏':function(name,capt){
|
||||
return lib.config.favouriteCharacter.contains(name)?capt:null;
|
||||
|
@ -498,7 +499,7 @@
|
|||
long2:'手杀',
|
||||
},
|
||||
onclick:function(layout){
|
||||
if(lib.config.layoutfixed.contains(lib.config.mode)){
|
||||
if(lib.layoutfixed.contains(lib.config.mode)){
|
||||
game.saveConfig('layout',layout);
|
||||
}
|
||||
else{
|
||||
|
@ -4018,7 +4019,7 @@
|
|||
ui.css={};
|
||||
lib.init.css(lib.assetURL+'layout/default','menu');
|
||||
var layout=lib.config.layout;
|
||||
if(lib.config.layoutfixed.indexOf(lib.config.mode)!==-1){
|
||||
if(lib.layoutfixed.indexOf(lib.config.mode)!==-1){
|
||||
layout='mobile';
|
||||
}
|
||||
if(layout=='phone'){
|
||||
|
@ -20177,7 +20178,7 @@
|
|||
});
|
||||
},
|
||||
switchMode:function(name,configx){
|
||||
if(lib.config.layout!=game.layout&&!lib.config.layoutfixed.contains(name)){
|
||||
if(lib.config.layout!=game.layout&&!lib.layoutfixed.contains(name)){
|
||||
lib.init.layout(lib.config.layout);
|
||||
}
|
||||
window.mode={};
|
||||
|
|
|
@ -6,6 +6,7 @@ window.noname_update={
|
|||
],
|
||||
files:[
|
||||
'game/game.js',
|
||||
'game/config.js',
|
||||
'game/package.js',
|
||||
'game/asset.js',
|
||||
'game/source.js',
|
||||
|
|
Loading…
Reference in New Issue