Skip to content
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions apps/core/character/sxrm/character.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ const characters = {
skills: ["sxrmjiehuo", "sxrmxianger", "sxrmmieguo"],
groupInGuozhan: "wu",
},
sxrm_sunshangxiang: {
sex: "female",
group: "wu",
hp: 3,
skills: ["sxrmjiaozong", "sxrmfusui"],
},
sxrm_zhangzhao: {
sex: "male",
group: "wu",
hp: 3,
skills: ["sxrmxiezhong", "sxrmqishi"],
},
//慢
sxrm_guanyu: {
sex: "male",
Expand Down
2 changes: 2 additions & 0 deletions apps/core/character/sxrm/characterTitle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
export default {
sxrm_zhouyu: "哀弦万耳惊",
sxrm_sunshangxiang: "生死相随",
sxrm_zhangzhao: "迂儒",

sxrm_guanyu: "四海仰鼻息",
sxrm_guanyinping: "天骄虎女",
Expand Down
20 changes: 20 additions & 0 deletions apps/core/character/sxrm/dynamicTranslate.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
import { lib, game, ui, get, ai, _status } from "noname";

const dynamicTranslates = {
sxrmqishi(player, skill) {
const bool = player.getStorage(skill, false);
let type = !bool ? get.poptip("sxrm_qidingSkill") : "锁定技";
let forced = !bool ? "可以" : "";
return `${type}。结束阶段,你${forced}获得本回合其他角色进入弃牌堆的至多五张牌,然后你跳过下个摸牌阶段。`;
},
sxrmbiyi(player, skill) {
const bool = player.getStorage(skill, false);
let sk = player.storage.sxrmfusui_skill;
let yang = sk ? `【${get.translation(sk)}】` : "无技能",
yin = "【枭姬】";
if (bool) {
yin = `<span class='bluetext'>${yin}</span>`;
} else {
yang = `<span class='firetext'>${yang}</span>`;
}
let start = "转换技,你视为拥有:",
end = "。当你发动上述对应技能后,切换本技能状态。";
return `${start}阳:${yang};阴:${yin}${end}`;
},
sxrmcongfeng(player, skill) {
const bool = player.getStorage(skill, false);
let yang = "与使用者各摸一张牌",
Expand Down
Loading
Loading