This commit is contained in:
parent
8d3f5162f2
commit
ab97cee718
|
@ -1405,6 +1405,9 @@ game.import('card',function(lib,game,ui,get,ai,_status){
|
||||||
list=get.libCard(function(info){
|
list=get.libCard(function(info){
|
||||||
return info.subtype=='spell_gold';
|
return info.subtype=='spell_gold';
|
||||||
});
|
});
|
||||||
|
if(get.mode()=='stone'){
|
||||||
|
list.remove('gw_aerdeyin');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
list=get.libCard(function(info){
|
list=get.libCard(function(info){
|
||||||
|
|
13
game/game.js
13
game/game.js
|
@ -7460,6 +7460,19 @@
|
||||||
clickedNode=true;
|
clickedNode=true;
|
||||||
lib.config.mode=this.link;
|
lib.config.mode=this.link;
|
||||||
game.saveConfig('mode',this.link);
|
game.saveConfig('mode',this.link);
|
||||||
|
if(game.layout!='mobile'&&lib.layoutfixed.indexOf(lib.config.mode)!==-1){
|
||||||
|
game.layout='mobile';
|
||||||
|
ui.css.layout.href=lib.assetURL+'layout/'+game.layout+'/layout.css';
|
||||||
|
}
|
||||||
|
else if(game.layout=='mobile'&&lib.config.layout!='mobile'&&lib.layoutfixed.indexOf(lib.config.mode)===-1){
|
||||||
|
game.layout=lib.config.layout;
|
||||||
|
if(game.layout=='default'){
|
||||||
|
ui.css.layout.href='';
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
ui.css.layout.href=lib.assetURL+'layout/'+game.layout+'/layout.css';
|
||||||
|
}
|
||||||
|
}
|
||||||
splash.delete(1000);
|
splash.delete(1000);
|
||||||
delete window.inSplash;
|
delete window.inSplash;
|
||||||
window.resetGameTimeout=setTimeout(lib.init.reset,5000);
|
window.resetGameTimeout=setTimeout(lib.init.reset,5000);
|
||||||
|
|
Loading…
Reference in New Issue