Skip to content

Commit

Permalink
Merge pull request #1235 from PZ157/PR-Branch
Browse files Browse the repository at this point in the history
标签补充,部分技能描述修复
  • Loading branch information
Spmario233 authored Apr 19, 2024
2 parents 4d916cb + b301b13 commit a8a7153
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 7 deletions.
13 changes: 9 additions & 4 deletions character/ddd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3361,6 +3361,9 @@ game.import("character", function () {
content() {
player.draw(3);
},
ai: {
combo: "dddfusi"
},
},
dddchashi: {
trigger: { global: "phaseUseBegin" },
Expand Down Expand Up @@ -5113,6 +5116,9 @@ game.import("character", function () {
},
},
},
ai: {
combo: "dddyouxue"
},
},
dddyouxue_old: {
audio: 2,
Expand Down Expand Up @@ -6624,7 +6630,7 @@ game.import("character", function () {
"锁定技。出牌阶段开始时,你选择一名角色,其弃置两张牌,然后你对一名角色造成1点伤害。" +
(player.storage["dddxiaheng_del"]
? ""
: "“若两名角色:均不为你,你失去一点体力上限;为同一名角色,你失去一点体力;然后若以此法对包括你在内三名不同的角色造成伤害,删除双引号里的描述内容”")
: "“若两名角色:均不为你,你失去一点体力上限;为同一名角色,你失去一点体力;然后若以此法对包括你在内三名不同的角色造成伤害,删除双引号里的描述内容”")
);
},
dddshichao(player) {
Expand All @@ -6638,9 +6644,8 @@ game.import("character", function () {
return (
"转换技,摸牌阶段,你" +
(player.hasMark("dddxuanlun_del") ? "" : "可") +
"展示手牌(无牌则不展示),并改为摸其中" +
(!player.storage["dddlanghuai"] ? "包含" : "缺少") +
"花色数的牌。"
"展示手牌(无牌则不展示),并改为摸其中:" +
(player.storage["dddlanghuai"] ? '阴:包含花色数的牌;<span class="bluetext">阳:缺少花色数的牌。</span>' : '<span class="bluetext">阴:包含花色数的牌;</span>阳:缺少花色数的牌。')
);
},
dddxuanlun(player) {
Expand Down
17 changes: 15 additions & 2 deletions character/huicui.js
Original file line number Diff line number Diff line change
Expand Up @@ -8005,6 +8005,9 @@ game.import("character", function () {
return false;
},
},
ai: {
neg: true
},
},
//公孙度
dczhenze: {
Expand Down Expand Up @@ -10831,7 +10834,10 @@ game.import("character", function () {
player.addTempSkill("zhishi_mark", { player: "phaseBegin" });
}
},
ai: { expose: 0.3 },
ai: {
combo: "xunli",
expose: 0.3
},
subSkill: {
mark: {
trigger: {
Expand Down Expand Up @@ -12096,6 +12102,9 @@ game.import("character", function () {
}
}
},
ai: {
combo: "huguan"
},
},
mingluan: {
audio: 2,
Expand Down Expand Up @@ -15060,6 +15069,10 @@ game.import("character", function () {
content: function () {
player.removeMark("recangchu", Math.min(player.countMark("recangchu"), trigger.num || 1));
},
ai: {
combo: "recangchu",
neg: true
},
group: "reshishou2",
},
reshishou2: {
Expand Down Expand Up @@ -15493,7 +15506,7 @@ game.import("character", function () {
var list = ["sha", "shan", "tao", "jiu"];
for (var i of list) {
var strx = "【" + get.translation(i) + "】";
if (!info || !info[0].includes(i))
if (info && !info[0].includes(i))
strx = '<span style="text-decoration:line-through;">' + strx + "</span>";
str += strx;
if (i != "jiu") str += "/";
Expand Down
3 changes: 3 additions & 0 deletions character/jsrg.js
Original file line number Diff line number Diff line change
Expand Up @@ -8741,6 +8741,9 @@ game.import("character", function () {
.set("cards", trigger.cards);
}
},
ai: {
combo: "jsrglirang"
},
},
//朱儁
jsrgfendi: {
Expand Down
4 changes: 4 additions & 0 deletions character/offline.js
Original file line number Diff line number Diff line change
Expand Up @@ -4049,6 +4049,7 @@ game.import("character", function () {
result: {
player: 1,
},
combo: "zyquanji"
},
},
//孙綝
Expand Down Expand Up @@ -6954,6 +6955,9 @@ game.import("character", function () {
player.loseToDiscardpile(cards);
if (num <= 1) player.draw();
},
ai: {
combo: "spyicong"
},
},
sptuji2: {
onremove: true,
Expand Down
11 changes: 10 additions & 1 deletion character/old.js
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,13 @@ game.import("character", function () {
content: function () {
player.addToExpansion(cards, player, "give").gaintag.add("old_jijun");
},
ai: { order: 1, result: { player: 1 } },
ai: {
order: 1,
result: {
player: 1
},
combo: "old_fangtong"
},
},
old_fangtong: {
trigger: {
Expand All @@ -1186,6 +1192,9 @@ game.import("character", function () {
var winners = player.getFriends();
game.over(player == game.me || winners.includes(game.me));
},
ai:{
combo: "oldjijun"
},
},
oldanxu: {
enable: "phaseUse",
Expand Down
3 changes: 3 additions & 0 deletions character/sp.js
Original file line number Diff line number Diff line change
Expand Up @@ -32648,6 +32648,9 @@ game.import("character", function () {
player.gain(event.togain, "gain2");
}
},
ai: {
combo: "xinfu_falu"
},
},
zhenyi_spade: {
trigger: {
Expand Down

0 comments on commit a8a7153

Please sign in to comment.