From e079eaba5f66162d86229a46ffd1fa10546d977b Mon Sep 17 00:00:00 2001 From: libccy Date: Tue, 18 Oct 2016 12:55:55 +0800 Subject: [PATCH] hs --- game/game.js | 7 ++++++- game/package.js | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 853da16fb..690354bf6 100644 --- a/game/game.js +++ b/game/game.js @@ -3592,7 +3592,12 @@ if(window.isNonameServer){ lib.config.mode='connect'; } - + if(lib.config.hearth){ + character.pack=character.hearthpack; + card.pack=card.hearthpack; + play.pack=play.hearthpack; + mode.pack=mode.hearthpack; + } for(i in character.pack){ if(lib.config.hiddenCharacterPack.indexOf(i)==-1){ lib.config.all.characters.push(i); diff --git a/game/package.js b/game/package.js index f120d629c..86d9fda66 100644 --- a/game/package.js +++ b/game/package.js @@ -15,6 +15,9 @@ character.pack={ xianjian:'仙剑', xiake:'侠客', }; +character.hearthpack={ + hs_classic:'经典', +}; card.pack={ standard:'标准', extra:'军争', @@ -25,6 +28,10 @@ card.pack={ swd:'轩辕剑', hearth:'炉石传说', }; +card.hearthpack={ + hs_classic:'经典', + hs_naxx:'NAXX', +}; play.pack={ boss:'挑战武将', cardpile:'牌堆补充', @@ -34,6 +41,9 @@ play.pack={ weather:'天气变化', coin:'富甲天下', }; +play.hearthpack={ + hs_mod:'规则调整' +}; mode.pack={ identity:'身份', guozhan:'国战', @@ -45,6 +55,12 @@ mode.pack={ stone:'炉石', brawl:'乱斗', }; +mode.hearthpack={ + hs_combat:'对战', + hs_arena:'竞技', + hs_brawl:'乱斗', + hs_connect:'联机' +}; background.pack={ zhulian_bg:'璧合', zhulin_bg:'竹林',