调整【守成】【急筹】【勋德】
This commit is contained in:
parent
7e12f9d35c
commit
1e029df1ab
|
@ -1536,38 +1536,26 @@ game.import("character", function () {
|
|||
return evt && evt.hs && evt.hs.length && current.countCards("h") == 0;
|
||||
});
|
||||
},
|
||||
direct: true,
|
||||
async content(event, trigger, player) {
|
||||
async cost(event, trigger, player) {
|
||||
const targetx = _status.currentPhase;
|
||||
const targets = game
|
||||
.filterPlayer((current) => {
|
||||
if (targetx && current == targetx) return false;
|
||||
if (targetx && current == targetx || !current.isIn()) return false;
|
||||
let evt = trigger.getl(current);
|
||||
return evt && evt.hs && evt.hs.length && current.countCards("h") == 0;
|
||||
})
|
||||
.sortBySeat(targetx || player);
|
||||
for (const target of targets) {
|
||||
if (!target.isIn()) continue;
|
||||
const {
|
||||
result: { bool },
|
||||
} = await player
|
||||
.chooseBool(get.prompt2("dcshoucheng", target))
|
||||
.set("choice", get.attitude(player, target) > 0);
|
||||
if (bool) {
|
||||
player.logSkill("dcshoucheng", target);
|
||||
if (target != player) player.addExpose(0.2);
|
||||
target.draw(2);
|
||||
}
|
||||
}
|
||||
event.result = await player
|
||||
.chooseTarget("是否对" + (targets.length > 1 ? "其中一名角色" : get.translation(targets[0])) + "发动【守成】?",
|
||||
"令其摸两张牌")
|
||||
.set("ai", target => get.attitude(get.event(player), target))
|
||||
.forResult();
|
||||
},
|
||||
ai: {
|
||||
threaten(player, target) {
|
||||
return Math.sqrt(
|
||||
game.countPlayer((i) => {
|
||||
return get.attitude(target, i) > 0;
|
||||
})
|
||||
);
|
||||
},
|
||||
usable: 1,
|
||||
async content(event, trigger, player) {
|
||||
const target = event.targets[0];
|
||||
if (get.mode() != "identity" || player.identity != "nei") player.addExpose(0.2);
|
||||
target.draw(2);
|
||||
},
|
||||
subSkill: {
|
||||
ai: {
|
||||
|
@ -16244,7 +16232,7 @@ game.import("character", function () {
|
|||
dcshengxi: "生息",
|
||||
dcshengxi_info: "弃牌阶段结束时,若你本回合未造成过伤害,你可以摸两张牌。",
|
||||
dcshoucheng: "守成",
|
||||
dcshoucheng_info: "一名角色于其回合外失去最后的手牌后,你可令其摸两张牌。",
|
||||
dcshoucheng_info: "每回合限一次,当一名角色于其回合外失去手牌后,若其没有手牌,你可令其摸两张牌。",
|
||||
dc_liuli: "刘理",
|
||||
dcfuli: "抚黎",
|
||||
dcfuli_info:
|
||||
|
|
|
@ -9722,9 +9722,9 @@ game.import("character", function () {
|
|||
"step 1";
|
||||
if (result.number < 7) {
|
||||
var source = trigger.source;
|
||||
if (source && source.isIn() && source.countCards("he") > 0) {
|
||||
if (source && source.isIn() && source.countCards("h") > 0) {
|
||||
player.line(source);
|
||||
source.chooseToDiscard("he", true);
|
||||
source.chooseToDiscard("h", true);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -20724,7 +20724,7 @@ game.import("character", function () {
|
|||
simafu: "司马孚",
|
||||
xunde: "勋德",
|
||||
xunde_info:
|
||||
"一名角色受到伤害后,若你至其的距离不大于1,则你可判定。若判定结果:大于5,你令该角色获得判定牌;小于7,你令伤害来源弃置一张牌。",
|
||||
"一名角色受到伤害后,若你至其的距离不大于1,则你可判定。若判定结果:大于5,你令该角色获得判定牌;小于7,你令伤害来源弃置一张手牌。",
|
||||
chenjie: "臣节",
|
||||
chenjie_info:
|
||||
"一名角色的判定牌生效前,你可打出一张花色相同的牌。系统将你打出的牌作为新判定牌,将原判定牌置入弃牌堆。然后你摸两张牌。",
|
||||
|
|
|
@ -5425,7 +5425,7 @@ game.import("character", function () {
|
|||
return val;
|
||||
},
|
||||
prompt: () => "选择要交出的牌和要交给的目标",
|
||||
selectCard: 1,
|
||||
selectCard: [1, Infinity],
|
||||
discard: false,
|
||||
lose: false,
|
||||
delay: false,
|
||||
|
@ -20495,7 +20495,7 @@ game.import("character", function () {
|
|||
tw_jiangji_prefix: "TW",
|
||||
twjichou: "急筹",
|
||||
twjichou_info:
|
||||
"①每回合限一次。你可以视为使用一张未被〖急筹①〗记录过的普通锦囊牌并记录此牌。②你无法响应或{使用对应实体牌包含你的手牌的}〖急筹①〗记录过的锦囊牌。③出牌阶段限一次。你可将手牌中的一张〖急筹①〗记录过的锦囊牌交给其他角色。",
|
||||
"①每回合限一次。你可以视为使用一张未被〖急筹①〗记录过的普通锦囊牌并记录此牌。②你无法响应或{使用对应实体牌包含你的手牌的}〖急筹①〗记录过的锦囊牌。③出牌阶段限一次。你可将手牌中任意张〖急筹①〗记录过的锦囊牌交给其他角色。",
|
||||
twjilun: "机论",
|
||||
twjilun_info:
|
||||
"当你受到伤害后,你可以摸X张牌(X为〖急筹①〗记录数且至少为1,至多为5),或视为使用一张〖急筹①〗记录过且未被〖机论〗记录过的普通锦囊牌并记录此牌。",
|
||||
|
|
Loading…
Reference in New Issue