Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
50 changes: 50 additions & 0 deletions apps/core/character/sxrm/character.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,56 @@ 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_lusu: {
sex: "male",
group: "wu",
hp: 3,
skills: ["sxrmwanli", "sxrmlishui"],
},
sxrm_chen_caocao: {
sex: "male",
group: "wei",
hp: 4,
skills: ["sxrmlanjiao"],
},
sxrm_zhugeliang: {
sex: "male",
group: "shu",
hp: 3,
skills: ["sxrmbingqu", "sxrmfanxin"],
groupBorder: "shen",
names: "诸葛|亮",
},
sxrm_jiahua: {
sex: "male",
group: "wu",
hp: 5,
skills: ["sxrmfubei", "sxrmdancui"],
},
sxrm_zhaoyun: {
sex: "male",
group: "shu",
hp: 4,
skills: ["sxrmzhaduo"],
},
sxrm_caoren: {
sex: "male",
group: "wei",
hp: 4,
skills: ["sxrmyangbei", "sxrmyinfeng"],
},
//慢
sxrm_guanyu: {
sex: "male",
Expand Down
8 changes: 8 additions & 0 deletions apps/core/character/sxrm/characterTitle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
export default {
sxrm_zhouyu: "哀弦万耳惊",
sxrm_sunshangxiang: "生死相随",
sxrm_zhangzhao: "迂儒",
sxrm_lusu: "养虫成蛇",
sxrm_chen_caocao: "铜雀囚凰",
sxrm_zhugeliang: "人也神也",
sxrm_jiahua: "拔剑四顾",
sxrm_zhaoyun: "坐收渔利",
sxrm_caoren: "坚壳之蚌",

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

const dynamicTranslates = {
sxrmdancui(player, skill) {
const bool = player.getStorage(skill, false);
let type = !bool ? get.poptip("sxrm_qidingSkill") : "锁定技";
let forced = !bool ? "可以" : "须";
return `${type}。当你造成伤害时,你${forced}弃置两张牌(无牌则不弃,不足则全弃),令此伤害+1。`;
},
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
2 changes: 2 additions & 0 deletions apps/core/character/sxrm/intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const characterIntro = {
sxrm_wanghou: "王垕是罗贯中创作的小说《三国演义》及其衍生作品中的角色,于小说第十七回登场,为曹操征讨袁术时管粮官任峻部下仓官,后被曹操冤杀。人名不见于正史记载,事件原型源于《三国志》裴松之注引的《曹瞒传》。",
sxrm_caocao: "&ensp;“将军,魏王邀你去回忆中一叙。”&ensp;<br>“眼见未必为真,请务必保持清醒。”",
sxrm_guanyu: "&ensp;“曹孟德,重逢之期指日可待。”&ensp;<br>“彼时当与君共话此途之宵小————君亦居此。”",
sxrm_zhouyu: "&ensp;“恨其诈,恨其黠,恨其狡,恨其奸,”&ensp;<br>“恨其...不为吾所用。”",
sxrm_jiahua: "贾华,小说《三国演义》中的虚构人物,吴国大帝孙权部将,在京剧《甘露寺》中写作贾化。该角色初次登场于小说第五十三回,持方天画戟与宋谦共同护卫孙权攻打合肥,交战中兵器被乐进斩断;后奉命率三百刀斧手埋伏于甘露寺长廊,欲在吴国太不满刘备时擒杀之,后此计被识破,在民间衍生出“甘露寺的伏兵——假话(贾华)”的谚语。"
};

export default characterIntro;
Loading