族钟会【挟术】修改

This commit is contained in:
mengxinzxz 2024-04-26 12:58:48 +08:00
parent e9484825f2
commit f5c34383e1
1 changed files with 18 additions and 26 deletions

View File

@ -1219,26 +1219,21 @@ game.import("character", function () {
.forResult(); .forResult();
}, },
popup: false, popup: false,
content() { *content(event, map) {
player.link(true); const player = map.player;
if (player.getDamagedHp() > 0) player.draw(player.getDamagedHp()); yield player.link(true);
if (player.getDamagedHp() > 0) {
yield player.draw(player.getDamagedHp());
}
if (
game.getGlobalHistory("everything", evt => {
return evt.name == "dying";
}).length
) {
player.tempBanSkill("clanxieshu");
}
}, },
ai: { threaten: 3 }, ai: { threaten: 3 },
group: "clanxieshu_ban",
subSkill: {
ban: {
audio: "clanxieshu",
trigger: { global: "dyingAfter" },
filter(event, player) {
return !player.isTempBanned("clanxieshu");
},
forced: true,
locked: false,
content() {
player.tempBanSkill("clanxieshu");
},
},
},
}, },
//族王浑 //族王浑
clanfuxun: { clanfuxun: {
@ -2264,13 +2259,10 @@ game.import("character", function () {
("step 6"); ("step 6");
var current = targets.shift(); var current = targets.shift();
current current
.chooseToUse( .chooseToUse(function (card, player, event) {
function (card, player, event) {
if (get.name(card) != "sha") return false; if (get.name(card) != "sha") return false;
return lib.filter.filterCard.apply(this, arguments); return lib.filter.filterCard.apply(this, arguments);
}, }, "联诛:是否对" + get.translation(event.targetx) + "使用一张杀?")
"联诛:是否对" + get.translation(event.targetx) + "使用一张杀?"
)
.set("targetRequired", true) .set("targetRequired", true)
.set("complexSelect", true) .set("complexSelect", true)
.set("filterTarget", function (card, player, target) { .set("filterTarget", function (card, player, target) {
@ -3794,7 +3786,7 @@ game.import("character", function () {
clanyuzhi: "迂志", clanyuzhi: "迂志",
clanyuzhi_info: "锁定技。新的一轮开始时你依次执行以下项①你弃置上一轮因〖迂志〗展示的手牌然后若你上一轮使用的牌数或你上上轮因〖迂志〗摸的牌数小于你上轮因〖迂志〗摸的牌数你受到1点雷属性伤害或失去〖保族〗。②你展示一张手牌然后摸X张牌X为此牌牌名字数。", clanyuzhi_info: "锁定技。新的一轮开始时你依次执行以下项①你弃置上一轮因〖迂志〗展示的手牌然后若你上一轮使用的牌数或你上上轮因〖迂志〗摸的牌数小于你上轮因〖迂志〗摸的牌数你受到1点雷属性伤害或失去〖保族〗。②你展示一张手牌然后摸X张牌X为此牌牌名字数。",
clanxieshu: "挟术", clanxieshu: "挟术",
clanxieshu_info: "当你因牌造成或受到伤害后你可以横置武将牌并弃置Y张牌然后摸你已损失体力值张牌Y为此牌牌名字数②一名角色的濒死状态结算完毕后,你令〖挟术〗于本回合失效。", clanxieshu_info: "当你因牌造成或受到伤害后你可以横置武将牌并弃置Y张牌然后摸你已损失体力值张牌Y为此牌牌名字数若本回合有角色进入过濒死状态,则〖挟术〗于本回合失效。",
clan_zhongyu: "族钟毓", clan_zhongyu: "族钟毓",
clanjiejian: "捷谏", clanjiejian: "捷谏",
clanjiejian_info: "当你于一回合使用第X张牌指定第一个目标后若此牌不为装备牌则你可以令一名目标角色摸X张牌。X为此牌牌名字数", clanjiejian_info: "当你于一回合使用第X张牌指定第一个目标后若此牌不为装备牌则你可以令一名目标角色摸X张牌。X为此牌牌名字数",