Skip to content

Commit e103c3c

Browse files
committed
#ui.click.skill对prompt为函数时增加一个player的参数;游戏外公共区域更名为公共区域
1 parent 0161b55 commit e103c3c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

noname/library/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4663,7 +4663,7 @@ export class Library {
46634663
},
46644664
},
46654665
show_commonCardpile: {
4666-
name: "显示游戏外公共区域按钮",
4666+
name: "显示公共区域按钮",
46674667
init: true,
46684668
unfrequent: true,
46694669
onclick(bool) {

noname/ui/click/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2984,7 +2984,7 @@ export class Click {
29842984
if (info.prompt) {
29852985
var str2;
29862986
if (typeof info.prompt == "function") {
2987-
str2 = info.prompt(event);
2987+
str2 = info.prompt(event, event.player);
29882988
} else {
29892989
str2 = info.prompt;
29902990
}

noname/ui/create/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2808,7 +2808,7 @@ export class Create {
28082808
ui.cardPileButton = ui.create.system("牌堆", null, true);
28092809
ui.cardPileButton.style.display = "none";
28102810
lib.setPopped(ui.cardPileButton, ui.click.cardPileButton, 220);
2811-
ui.commonCardPileButton = ui.create.system("游戏外公共区域", null, true);
2811+
ui.commonCardPileButton = ui.create.system("公共区域", null, true);
28122812
ui.commonCardPileButton.style.display = "none";
28132813
lib.setPopped(ui.commonCardPileButton, ui.click.commonCardPileButton, 220);
28142814
ui.wuxie = ui.create.system("不询问无懈", ui.click.wuxie, true);

0 commit comments

Comments
 (0)