调整【易城】,曹宇分包归属

This commit is contained in:
157 2024-04-19 15:42:17 +08:00
parent bafcb86723
commit a86e2bef49
2 changed files with 9 additions and 5 deletions

View File

@ -3554,6 +3554,9 @@ game.import("character", function () {
"step 1"; "step 1";
player.addSkills("xinmouli"); player.addSkills("xinmouli");
}, },
ai: {
combo: "xingqi"
},
group: ["mibei_fail", "mibei_silent"], group: ["mibei_fail", "mibei_silent"],
derivation: "xinmouli", derivation: "xinmouli",
subSkill: { subSkill: {

View File

@ -18,6 +18,7 @@ game.import("character", function () {
"tengfanglan", "tengfanglan",
"ruiji", "ruiji",
"caoxiancaohua", "caoxiancaohua",
"caoyu",
], ],
sp_sibi: [ sp_sibi: [
"ol_lukai", "ol_lukai",
@ -168,7 +169,6 @@ game.import("character", function () {
"ol_tw_zhangji", "ol_tw_zhangji",
"ol_liwan", "ol_liwan",
"ol_liuyan", "ol_liuyan",
"caoyu",
"liupan", "liupan",
"ol_liupi", "ol_liupi",
], ],
@ -1148,7 +1148,7 @@ game.import("character", function () {
enable: "phaseUse", enable: "phaseUse",
usable: 1, usable: 1,
async content(event, trigger, player) { async content(event, trigger, player) {
let cards = get.cards(3); let num = player.maxHp, cards = get.cards(num);
await game.cardsGotoOrdering(cards); await game.cardsGotoOrdering(cards);
await player.showCards(cards, get.translation(player) + "发动了【易城】"); await player.showCards(cards, get.translation(player) + "发动了【易城】");
if (player.countCards("h")) { if (player.countCards("h")) {
@ -1181,7 +1181,7 @@ game.import("character", function () {
.set("filterOk", (moved) => moved[1].some((i) => !get.owner(i))) .set("filterOk", (moved) => moved[1].some((i) => !get.owner(i)))
.set("processAI", (list) => { .set("processAI", (list) => {
const player = get.event("player"), const player = get.event("player"),
limit = Math.min(3, player.countCards("h")); limit = Math.min(get.event("num"), player.countCards("h"));
let cards = list[0][1].slice(), let cards = list[0][1].slice(),
hs = player.getCards("h"); hs = player.getCards("h");
if ( if (
@ -1216,7 +1216,8 @@ game.import("character", function () {
} }
return list; return list;
} }
}); })
.set("num", num);
if (bool) { if (bool) {
const puts = player.getCards("h", (i) => moved[0].includes(i)); const puts = player.getCards("h", (i) => moved[0].includes(i));
const gains = cards.filter((i) => moved[1].includes(i)); const gains = cards.filter((i) => moved[1].includes(i));
@ -34574,7 +34575,7 @@ game.import("character", function () {
ol_liupi: "刘辟", ol_liupi: "刘辟",
olyicheng: "易城", olyicheng: "易城",
olyicheng_info: olyicheng_info:
"出牌阶段限一次,你可以亮出牌堆顶的三张牌,然后你可以以任意手牌交换这些牌,若这三张牌的点数和因此增加,则你可以选择用所有手牌交换这三张牌。最后你将这三张牌置于牌堆顶。", "出牌阶段限一次,你可以亮出牌堆顶的X张牌X为你的体力上限然后你可以以任意手牌交换其中等量张牌若亮出的牌的点数和因此增加则你可以选择用所有手牌交换亮出的牌。最后你将亮出的牌置于牌堆顶。",
sp_sunce: "SP孙策", sp_sunce: "SP孙策",
sp_sunce_prefix: "SP", sp_sunce_prefix: "SP",
olliantao: "连讨", olliantao: "连讨",