diff --git a/game/game.js b/game/game.js index aaa37fdd5..c0f532526 100644 --- a/game/game.js +++ b/game/game.js @@ -735,12 +735,6 @@ general:{ name:'通用', config:{ - mount_combine:{ - name:'合并坐骑栏', - init:false, - intro:'
  • 将进攻坐骑栏和防御坐骑栏合并为同一个位置(重启后生效)。', - restart:true, - }, low_performance:{ name:'流畅模式', init:false, @@ -3650,6 +3644,12 @@ map.show_extensionshare.hide(); } }, + mount_combine:{ + name:'合并坐骑栏', + init:false, + intro:'
  • 将进攻坐骑栏和防御坐骑栏合并为同一个位置(重启后生效)。', + restart:true, + }, show_history:{ name:'出牌记录栏', init:'off', @@ -5658,6 +5658,13 @@ frequent:true, restart:true, }, + connect_aozhan:{ + name:'鏖战模式', + init:true, + intro:'若开启此选项,则将在游戏中引入“鏖战模式”的规则:
    当游戏中仅剩四名或更少角色时(七人以下游戏时改为三名或更少),若此时全场没有超过一名势力相同的角色,则从一个新的回合开始,游戏进入鏖战模式直至游戏结束。
    ◇在鏖战模式下,【桃】只能当做【杀】或【闪】使用或打出,不能用来回复体力。
    注:进入鏖战模式后,即使之后有两名或者更多势力相同的角色出现,仍然不会取消鏖战模式。', + frequent:true, + restart:true, + }, get connect_separatism(){ return lib.mode.guozhan.config.separatism; }, @@ -5672,13 +5679,6 @@ frequent:true, intro:'第一个明置武将牌的角色可获得首亮奖励' }, - connect_aozhan:{ - name:'鏖战模式', - init:true, - intro:'若开启此选项,则将在游戏中引入“鏖战模式”的规则:
    当游戏中仅剩四名或更少角色时(七人以下游戏时改为三名或更少),若此时全场没有超过一名势力相同的角色,则从一个新的回合开始,游戏进入鏖战模式直至游戏结束。
    ◇在鏖战模式下,【桃】只能当做【杀】或【闪】使用或打出,不能用来回复体力。
    注:进入鏖战模式后,即使之后有两名或者更多势力相同的角色出现,仍然不会取消鏖战模式。', - frequent:true, - restart:true, - }, connect_viewnext:{ name:'观看下家副将', init:false, @@ -5751,6 +5751,13 @@ frequent:true, restart:true, }, + aozhan:{ + name:'鏖战模式', + init:true, + frequent:true, + restart:true, + intro:'若开启此选项,则将在游戏中引入“鏖战模式”的规则:
    当游戏中仅剩四名或更少角色时(七人以下游戏时改为三名或更少),若此时全场没有超过一名势力相同的角色,则从一个新的回合开始,游戏进入鏖战模式直至游戏结束。
    ◇在鏖战模式下,【桃】只能当做【杀】或【闪】使用或打出,不能用来回复体力。
    注:进入鏖战模式后,即使之后有两名或者更多势力相同的角色出现,仍然不会取消鏖战模式。', + }, separatism:{ name:'群雄割据', init:false, @@ -5769,13 +5776,6 @@ frequent:true, intro:'第一个明置身份牌的角色可获得摸牌奖励' }, - aozhan:{ - name:'鏖战模式', - init:true, - frequent:true, - restart:true, - intro:'若开启此选项,则将在游戏中引入“鏖战模式”的规则:
    当游戏中仅剩四名或更少角色时(七人以下游戏时改为三名或更少),若此时全场没有超过一名势力相同的角色,则从一个新的回合开始,游戏进入鏖战模式直至游戏结束。
    ◇在鏖战模式下,【桃】只能当做【杀】或【闪】使用或打出,不能用来回复体力。
    注:进入鏖战模式后,即使之后有两名或者更多势力相同的角色出现,仍然不会取消鏖战模式。', - }, viewnext:{ name:'观看下家副将', init:false, @@ -51009,7 +51009,10 @@ var node=ui.create.div('.menubutton.large','录像',start.firstChild,clickMode); node.type='video'; lib.videos=[]; - ui.create.videoNode=(video,before)=>lib.videos[before===true?'unshift':'push'](video); + ui.create.videoNode=(video,before)=>{ + lib.videos.remove(video); + lib.videos[before===true?'unshift':'push'](video); + }; node._initLink=function(){ node.link=page; var store=lib.db.transaction(['video'],'readwrite').objectStore('video'); @@ -58146,13 +58149,13 @@ */ updatePlayerPositions:numberOfPlayers=>{ if(typeof numberOfPlayers!='number') numberOfPlayers=ui.arena.dataset.number; - //当人数小于8时,还是用以前的布局。 - if(!numberOfPlayers||numberOfPlayers<9) return; + //当人数不超过8人时,还是用以前的布局 + if(!numberOfPlayers||numberOfPlayers<=8) return; const playerPositions=ui.playerPositions; while(playerPositions.length){ playerPositions.pop().remove(); } - //单个人物的宽度。这里要设置玩家的实际的宽度 + //单个人物的宽度,这里要设置玩家的实际的宽度 const temporaryPlayer=ui.create.div('.player',ui.arena).hide(); const computedStyle=getComputedStyle(temporaryPlayer); const scale=6/numberOfPlayers; @@ -58163,10 +58166,10 @@ //列数,即假如8人场,除去自己后,上面7个人占7列 const columnCount=numberOfPlayers-1; const percentage=90/(columnCount-1); - //仅当游戏人数大于8人,且玩家的座位号大于0时,设置玩家的位置。因为0号位是game.me在最下方,无需设置。 + //仅当游戏人数大于8人,且玩家的座位号大于0时,设置玩家的位置;因为0号位是game.me在最下方,无需设置 for(let ordinal=1;ordinal.player[data-position='${ordinal}']{`, diff --git a/game/pinyinjs.js b/game/pinyinjs.js index d26c56578..73fec645f 100644 --- a/game/pinyinjs.js +++ b/game/pinyinjs.js @@ -38,8 +38,6 @@ var pinyin_dict_polyphone = { "马日磾": " mì dī", "凯撒": " sà", - "梼杌": "táo ", - "地藏王": "dì zàng wáng", "乐无异": "yuè ", "端蒙": " méng", @@ -47,9 +45,11 @@ var pinyin_dict_polyphone = { "洛欧塞布": " sài ", "塞纳留斯": "sài ", "半藏": " zàng", + "地藏王": "dì zàng wáng", "查莉娅": "zhā ", "单小小": "shàn ", "少微": "shào ", + "少昊": "shào ", "欧阳少恭": " shào ", "卡尔维特": "kǎ ", "卡西尔": "kǎ ", @@ -59,6 +59,7 @@ var pinyin_dict_polyphone = { "卡利莫斯": "kǎ ", "安卡": " kǎ", "卡玛": "kǎ ", + "梼杌": "táo ", "库特莉亚芙卡": " kǎ", "露娜": "lù ", @@ -144,7 +145,6 @@ var pinyin_dict_polyphone = { "膴仕": "wǔ ", "蒙斥": "méng ", - "奈落": " luò", "乐动": "yuè ", "血凰": "xuè ", @@ -154,6 +154,7 @@ var pinyin_dict_polyphone = { "血逐": "xuè ", "血咒": "xuè ", "血殇": "xuè ", + "血池": "xuè ", "越行": " xíng", "劫行": " xíng", "割发": " fà", @@ -161,6 +162,7 @@ var pinyin_dict_polyphone = { "落石": "luò ", "落刀": "luò ", "星落": " luò", + "奈落": " luò", "舍身": "shě ", "舍愿": "shě ", "月露": " lù",