From bc5dab5413671b514a6751bccab52e70540c3abb Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 1 Feb 2017 00:33:29 +0800 Subject: [PATCH] 1 --- game/game.js | 57 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 44 insertions(+), 13 deletions(-) diff --git a/game/game.js b/game/game.js index 7f578b4ab..52598d5b3 100644 --- a/game/game.js +++ b/game/game.js @@ -1006,6 +1006,11 @@ name:'显示收藏菜单', init:true, unfrequent:true + }, + show_ban_menu:{ + name:'显示禁将菜单', + init:true, + unfrequent:true }, hide_card_image:{ name:'隐藏卡牌背景', @@ -3788,13 +3793,11 @@ lib.config.all.plays=[]; lib.config.all.mode=[]; - if(lib.config.debug){ - lib.init.js('game','asset',function(){ - lib.skin=window.noname_skin_list; - delete window.noname_skin_list; - delete window.noname_asset_list; - }); - } + lib.init.js(lib.assetURL+'game','asset',function(){ + lib.skin=window.noname_skin_list; + delete window.noname_skin_list; + delete window.noname_asset_list; + }); if(window.isNonameServer){ lib.config.mode='connect'; @@ -5456,8 +5459,10 @@ translate:{ 'default':"默认", zhenfa:'阵法', - mode_derivation_card_config:'衍生', + mode_derivation_card_config:'衍生', + mode_ban_card_config:'禁卡', mode_favourite_character_config:'收藏', + mode_ban_character_config:'禁将', heart:"♥︎", diamond:"♦︎", spade:"♠︎", @@ -22471,6 +22476,7 @@ } node.link=page; node.mode=mode; + page.node=node; var list=[]; for(var i in info){ list.push(i); @@ -22542,7 +22548,7 @@ updateBanned._buttons=updateBanned._buttons.concat(buttons); for(var i=0;i