bugfix
This commit is contained in:
parent
c8cf837904
commit
c6f0129fad
|
@ -77,7 +77,7 @@ const skills = {
|
|||
if (card.cards && (card.cards || []).some(i => get.position(i) == "h")) return false;
|
||||
},
|
||||
cardSavable() {
|
||||
return lib.skill.dctunchu.subSkill.debuff.mod.cardEnabled2.apply(this, arguments);
|
||||
return lib.skill.dctunchu.subSkill.debuff.mod.cardEnabled.apply(this, arguments);
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const characters = {
|
||||
dc_sb_jiaxu: ["male", "qun", 3, ["dcsbsushen", "dcsbrushi", "dcsbfumou"]],
|
||||
dc_sb_jiaxu: ["male", "qun", 3, ["dcsbsushen", "dcsbfumou"]],
|
||||
guanyue: ["male", "shu", 4, ["dcshouzhi", "dcfenhui"]],
|
||||
sp_zhenji: ["female", "qun", 3, ["dcjijie", "dchuiji"]],
|
||||
wu_guanyu: ["male", "shu", 5, ["dcjuewu", "dcwuyou", "dcyixian"]],
|
||||
|
|
|
@ -103,7 +103,7 @@ const dynamicTranslates = {
|
|||
str += "阴,并将这些牌交给另一名其他角色B,然后你与A各摸X张牌(X为A以此法失去的手牌数);";
|
||||
if (!storage) str += "</span>";
|
||||
if (storage) str += '<span class="bluetext">';
|
||||
str += "阳,令A依次使用这些牌中所有其可以使用的牌。";
|
||||
str += "阳,令A依次视为使用这些牌中所有其可以使用的牌。";
|
||||
if (storage) str += "</span>";
|
||||
return str;
|
||||
},
|
||||
|
|
|
@ -132,31 +132,15 @@ const skills = {
|
|||
aim.chat("555一张都拿不到~");
|
||||
}
|
||||
} else {
|
||||
cards = cards.filter(card => {
|
||||
return target.hasUseTarget(card) && get.owner(card) == target && get.position(card) == "h";
|
||||
});
|
||||
while (
|
||||
cards.some(card => {
|
||||
return target.hasUseTarget(card) && get.owner(card) == target && get.position(card) == "h";
|
||||
})
|
||||
) {
|
||||
const result = await target
|
||||
.chooseToUse(
|
||||
true,
|
||||
function (card) {
|
||||
const event = get.event();
|
||||
if (!lib.filter.cardEnabled(card, event.player, event)) return false;
|
||||
return get.event("cards").includes(card);
|
||||
},
|
||||
"覆谋:请依次使用展示的牌"
|
||||
)
|
||||
.set("cards", cards)
|
||||
.forResult();
|
||||
if (result.bool) {
|
||||
cards = cards.filter(card => {
|
||||
return target.hasUseTarget(card) && get.owner(card) == target && get.position(card) == "h";
|
||||
});
|
||||
} else break;
|
||||
for (const card of cards) {
|
||||
const cardx = {
|
||||
name: get.name(card, player),
|
||||
nature: get.nature(card, player),
|
||||
isCard: true,
|
||||
};
|
||||
if (target.hasUseTarget(cardx)) {
|
||||
await target.chooseUseTarget(cardx, true, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -165,7 +149,7 @@ const skills = {
|
|||
mark: true,
|
||||
intro: {
|
||||
content(storage) {
|
||||
if (storage) return "转换技,出牌阶段限一次,你可以观看一名其他角色的手牌并展示其一半手牌,令其依次使用这些牌中所有其可以使用的牌。";
|
||||
if (storage) return "转换技,出牌阶段限一次,你可以观看一名其他角色的手牌并展示其一半手牌,令其依次视为使用这些牌中所有其可以使用的牌。";
|
||||
return "转换技,出牌阶段限一次,你可以观看一名其他角色A的手牌并展示其一半手牌并将这些牌交给另一名其他角色B,然后你与A各摸X张牌(X为A以此法失去的手牌数)。";
|
||||
},
|
||||
},
|
||||
|
|
|
@ -598,7 +598,7 @@ const translates = {
|
|||
dcsbrushi: "入世",
|
||||
dcsbrushi_info: "限定技,出牌阶段,你可以将你当前〖覆谋〗的状态、你的手牌数和你的体力值调整为你发动〖肃身〗时的记录。",
|
||||
dcsbfumou: "覆谋",
|
||||
dcsbfumou_info: "转换技,出牌阶段限一次,你可以观看一名其他角色A的手牌并展示其一半手牌:阴,并将这些牌交给另一名其他角色B,然后你与A各摸X张牌(X为A以此法失去的手牌数);阳,令A依次使用这些牌中所有其可以使用的牌。",
|
||||
dcsbfumou_info: "转换技,出牌阶段限一次,你可以观看一名其他角色A的手牌并展示其一半手牌:阴,并将这些牌交给另一名其他角色B,然后你与A各摸X张牌(X为A以此法失去的手牌数);阳,令A依次视为使用这些牌中所有其可以使用的牌。",
|
||||
};
|
||||
|
||||
export default translates;
|
||||
|
|
Loading…
Reference in New Issue