From e5e78c8d0ac613779fc143aebd81018f8897a1db Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 8 May 2024 22:02:30 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8D=E7=9F=A5?= =?UTF-8?q?=E9=81=93=E5=93=AA=E4=B8=AA=E7=AC=A8=E8=9B=8B=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/versus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mode/versus.js b/mode/versus.js index 65cdbbe81..01f816346 100644 --- a/mode/versus.js +++ b/mode/versus.js @@ -1775,7 +1775,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { game.players[i].node.name_seat = ui.create.div( ".name.name_seat", get.verticalStr( - get.seatTranslation(_status.firstAct, game.players[i], "absolute") + get.seatTranslation(get.distance(_status.firstAct, game.players[i], "absolute")) ), game.players[i] ); From c43385c82466089318851bddaf637901a433d0cf Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Wed, 8 May 2024 22:19:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E5=BA=9F=E5=BC=83=E7=9A=84precharacter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mode/versus.js | 2 +- noname/ui/create/index.js | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/mode/versus.js b/mode/versus.js index 01f816346..f07df435a 100644 --- a/mode/versus.js +++ b/mode/versus.js @@ -2006,7 +2006,7 @@ game.import("mode", function (lib, game, ui, get, ai, _status) { ui.create.characterDialog( "heightset", event.filterChoice, - "precharacter" + "character" ); } } diff --git a/noname/ui/create/index.js b/noname/ui/create/index.js index 7e32bc08e..ef1e974b5 100644 --- a/noname/ui/create/index.js +++ b/noname/ui/create/index.js @@ -1242,7 +1242,6 @@ export class Create { expandall, onlypack, heightset, - precharacter, characterx; for (var i = 0; i < arguments.length; i++) { if (arguments[i] === "thisiscard") { @@ -1251,8 +1250,6 @@ export class Create { expandall = true; } else if (arguments[i] === "heightset") { heightset = true; - } else if (arguments[i] == "precharacter") { - precharacter = true; } else if (arguments[i] == "characterx") { characterx = true; } else if ( @@ -1982,9 +1979,7 @@ export class Create { dialog.add([list, "vcard"], noclick); } } else { - if (precharacter) { - dialog.add([list, "precharacter"], noclick); - } else if (characterx) { + if (characterx) { dialog.add([list, "characterx"], noclick); } else { dialog.add([list, "character"], noclick);