调整【榻谟】
This commit is contained in:
parent
611714353b
commit
d34942b098
|
@ -755,9 +755,18 @@ game.import("character", function () {
|
|||
changeSeat: true,
|
||||
derivation: "tamo_faq",
|
||||
async content(event, trigger, player) {
|
||||
const toSortPlayers = game.filterPlayer((current) => !current.isZhu2());
|
||||
const toSortPlayers = game.filterPlayer((current) => {
|
||||
return (
|
||||
!current.isZhu2() ||
|
||||
get.mode() == "doudizhu" && current.getSeatNum() == 3
|
||||
);
|
||||
});
|
||||
toSortPlayers.sortBySeat(game.findPlayer2((current) => current.getSeatNum() == 1, true));
|
||||
const next = player.chooseToMove("榻谟:是否分配所有角色的座次?");
|
||||
const next = player.chooseToMove("榻谟:是否分配" +
|
||||
(game.countPlayer() > toSortPlayers.length ?
|
||||
"除主公" + (get.mode() == "doudizhu" ? "和三号位外" : "外") : "") +
|
||||
"所有角色的座次?"
|
||||
);
|
||||
next.set("list", [
|
||||
[
|
||||
"(以下排列的顺序即为发动技能后角色的座次顺序)",
|
||||
|
@ -1638,8 +1647,7 @@ game.import("character", function () {
|
|||
var bodies = _status.event.player
|
||||
.getStorage("jxzhaoluan_effect")
|
||||
.filter((i) => i.isIn());
|
||||
return `选择一名角色,你令${get.translation(bodies)}${
|
||||
bodies.length > 1 ? "中的一人" : ""
|
||||
return `选择一名角色,你令${get.translation(bodies)}${bodies.length > 1 ? "中的一人" : ""
|
||||
}减1点体力上限,然后你对选择的角色造成1点伤害。`;
|
||||
},
|
||||
delay: false,
|
||||
|
@ -1835,8 +1843,7 @@ game.import("character", function () {
|
|||
`<div class="text" data-nature=${get.groupnature(
|
||||
info[1],
|
||||
"raw"
|
||||
)}m style="font-family: ${
|
||||
lib.config.name_font || "xinwei"
|
||||
)}m style="font-family: ${lib.config.name_font || "xinwei"
|
||||
},xinwei">${skillstr}</div>`,
|
||||
node
|
||||
);
|
||||
|
@ -10838,6 +10845,8 @@ game.import("character", function () {
|
|||
tamo: "榻谟",
|
||||
tamo_info:
|
||||
"游戏开始时,你可以重新分配除主公外所有角色的座次。",
|
||||
tamo_info_doudizhu:
|
||||
"游戏开始时,你可以重新分配除主公和三号位外所有角色的座次。",
|
||||
tamo_faq: "FAQ",
|
||||
tamo_faq_info:
|
||||
"<br><li>Q:在一号位不为主公的情况下,〖榻谟〗如何结算?</li><li>A:该角色可以正常进行座次交换。若受此技能影响导致一号位角色发生了变化,则以排列后的一号位角色为起始角色开始本局游戏。</li>",
|
||||
|
|
Loading…
Reference in New Issue