diff --git a/game/game.js b/game/game.js index dae2459ac..00731c63b 100644 --- a/game/game.js +++ b/game/game.js @@ -2688,6 +2688,7 @@ name:'只开启国战武将', init:true, frequent:true, + restart:true, }, connect_ban_weak:{ name:'屏蔽弱将', @@ -2746,6 +2747,7 @@ name:'只开启国战武将', init:true, frequent:true, + restart:true, }, double_hp:{ name:'双将体力上限', diff --git a/mode/guozhan.js b/mode/guozhan.js index fca0e9742..88b42c845 100644 --- a/mode/guozhan.js +++ b/mode/guozhan.js @@ -30,6 +30,9 @@ mode.guozhan={ game.showChangeLog(); } for(var i in lib.characterPack.mode_guozhan){ + if(!get.config('onlyguozhan')){ + if(lib.character[i.slice(3)]) continue; + } lib.character[i]=lib.characterPack.mode_guozhan[i]; if(!lib.character[i][4]){ lib.character[i][4]=[]; @@ -274,7 +277,7 @@ mode.guozhan={ } }, getRoomInfo:function(uiintro){ - var num; + var num,last; if(lib.configOL.initshow_draw=='0'){ num='关闭' } @@ -284,13 +287,16 @@ mode.guozhan={ uiintro.add('