曹节王甫

This commit is contained in:
Spmario233 2024-05-18 22:04:54 +08:00
parent 0d00d138e2
commit ae387f0b4b
7 changed files with 131 additions and 1 deletions

View File

@ -64,6 +64,18 @@ const characters = {
skills: ["jsrgzhimeng", "jsrgtianyu", "jsrgzhuni", "jsrghezhi"],
isZhugong: true,
},
jsrg_caojiewangfu: {
sex: "male",
group: "qun",
hp: 3,
skills: ["jsrgzonghai", "jsrgjueyin"],
},
jsrg_songhuanghou: {
sex: "female",
group: "qun",
hp: 3,
skills: ["jsrgzongzen", "jsrgxuchong"],
},
};
export default characters;

View File

@ -10,6 +10,7 @@ const characterIntro = {
jsrg_sunce: "建安五年,操、绍相拒于官渡,孙策欲阴袭许昌,迎汉帝,遂密治兵,部署诸将。未发,会为许贡门客所刺,将计就计,尽托江东于权,诈死以待天时。八月,操、绍决战,孙策亲冒矢石,斩将刈旗,得扬、豫之地。曹操败走冀、青,刘备远遁荆、益。而后历时七年,孙策三分天下已有其二,帝于洛阳,建霸王未竟之功业。权表求吴王,封为仲帝,共治天下。",
jsrg_guojia: "初平元年二月,郭嘉拜见袁绍,闻曹操怒斥众诸侯,乃对曰:“董卓于汴水或有埋伏,慎之!”曹操未从,果败于徐荣。三月,曹操与郭嘉论天下事:“使孤成大业者,必此人也。”郭嘉从破袁绍,讨谭、尚,连战数克,计定辽东。时年三十八,征乌桓归途郭嘉因劳染疾,命悬之际竟意外饮下柳皮醋水而愈。建安十三年,曹操屯兵赤壁,郭嘉识破连环之计,议上中下三策,可胜刘备。尚未献策,曹操便决意采纳上策,“奉孝之才,足胜孤百倍,卿言上策,如何不取?”由此,赤壁战后曹操尽得天下。",
jsrg_zhugeliang: "建兴六年春,汉丞相诸葛亮使赵云、邓芝为先锋,马谡为副将拒箕谷,牵制曹真主力。自率三十万大军攻祁山,三郡叛魏应亮,关中响震。曹叡命张郃拒亮,亮使定军山降将姜维与郃战于街亭,张郃久攻不下。后曹真强攻赵云军,赵云死战,坚守箕谷,马谡、邓芝当场战死忠勇殉国。……既克张郃,曹真溃逃,曹叡弃守长安,迁都邺城。十月,司马懿击退孙权,回援曹真。而后三年,丞相所到之处,无不望风而降,皆箪食壶浆,以迎汉军。尽收豫、徐、兖、并之地,建兴十年春,司马懿父子三人死于诸葛武侯火计,同年,孙权上表称臣,至此四海清平,大汉一统。而后诸葛亮荐蒋琬为丞相,姜维为大将军,自回隆中归隐,后主挽留再三,皆不受。魏延亦辞官相随,侍奉左右。后主时有不决之事,便往隆中拜访相父,均未得面,童子答曰外出云游,遗数锦囊,拆而视之,皆治国之良策也。",
jsrg_yuanshao: "太祖圣武皇帝,汝南汝阳人也,姓袁,讳绍,字本初。太祖于黎阳梦有一神授一宝刀,及觉,果在卧所,铭日思召。解之曰:思召,绍字也。 ……灵帝崩,少帝继位。卓议欲废立,太祖拒之,卓案剑吆曰:“竖子敢然!天下之事,岂不在我/我欲为之,谁敢不从!”绍勃然曰:“天下健者,岂惟董乎!”横剑径出。世人方知太祖贤名非以权势取之。实乃英雄气也。初平元年,太祖于勃海起兵,其从弟后将军术等十余位诸侯同时俱起,兴兵讨董。是时,豪杰既多附招,州郡蜂起,莫不以袁氏为名。……太祖既得冀州,尝出猎白登山,见一白鹿口含宝剑而来,获之,剑名中兴。或曰:汉失其鹿,陈逐而获之。建安五年,太祖与曹操战于官渡,曹操欲夜袭乌巢,恰有流星如火,光长十余丈照于曹营,昼有云如坏山,当营而陨, 不及地尺而散,吏士皆以为不详,太祖并兵俱攻大破之,操自军破后,头风病发,六年夏五月死。",
};
export default characterIntro;

View File

@ -3,6 +3,101 @@ import { lib, game, ui, get, ai, _status } from "../../noname.js";
/** @type { importCharacterConfig['skill'] } */
const skills = {
//江山如故·衰
//宋皇后
jsrgzhongzen: {},
jsrgxuchong: {},
//曹节王甫
jsrgzonghai: {
trigger: { global: "dying" },
logTarget: "player",
round: 1,
filter(event, player) {
return event.player !== player && event.player.hp <= 0;
},
check(event, player) {
//理论上是小完杀+卖血
//先粗略地写一写后面等157补
return get.attitude(player, event.player) < 0;
},
async content(event, trigger, player) {
const target = trigger.player;
const targets = await target
.chooseTarget([1, 2], true, "请选择至多两名角色", `${get.translation(player)}对你发动了【纵害】。你可以选择至多两名角色,只有这两名角色可以使用牌拯救你,且当此次濒死结算结束后,这两名角色均会受到来自${get.translation(player)}的1点伤害。`)
.set("ai", target => {
//自救还要挨一刀,最好的反制方法就是跟对面爆了
const evt = get.event(),
player = evt.player,
source = evt.getParent().player;
return get.damageEffect(target, source, player);
})
.set("forceDie", true)
.forResult("targets");
target.line(targets);
game.log(target, "选择了", targets);
targets.sortBySeat(_status.currentPhase);
const allPlayers = game.filterPlayer().sortBySeat();
if (!trigger._jsrgzonghai_id) trigger._jsrgzonghai_id = get.id();
const id = trigger._jsrgzonghai_id;
allPlayers.forEach(target => {
if (!targets.includes(target)) {
target.addTempSkill("jsrgzonghai_blocker");
target.markAuto("jsrgzonghai_blocker", [id]);
}
});
target
.when("dyingAfter")
.vars({ id, allPlayers, targets, source: player })
.assign({ forceDie: true })
.then(() => {
allPlayers.forEach(target => {
target.unmarkAuto("jsrgzonghai_blocker", [id]);
if (target.getStorage("jsrgzonghai_blocker").length) target.removeSkill("jsrgzonghai_blocker");
});
if (source.isIn()) {
targets.forEach(target => target.damage(source));
}
});
},
subSkill: {
blocker: {
charlotte: true,
onremove: true,
mod: {
cardSavable: () => false,
cardEnabled: () => false,
},
},
},
},
jsrgjueyin: {
trigger: { player: "damageEnd" },
filter(event, player) {
return player.getHistory("damage")[0] === event;
},
async content(event, trigger, player) {
await player.draw(3);
const targets = game.filterPlayer().sortBySeat();
targets.forEach(current => {
current.addTempSkill("jsrgjueyin_damage");
current.addMark("jsrgjueyin_damage", 1, false);
});
},
subSkill: {
damage: {
onremove: true,
charlotte: true,
trigger: { player: "damageBegin1" },
forced: true,
async content(event, trigger, player) {
trigger.num++;
},
intro: {
content: "本回合受到的伤害+#",
},
},
},
},
//梦袁绍
jsrgzhimeng: {
trigger: { player: "phaseZhunbeiBegin" },
logTarget() {

View File

@ -3,7 +3,7 @@ const characterSort = {
jiangshanrugu_cheng: ["jsrg_sunce", "jsrg_xuyou", "jsrg_lvbu", "jsrg_zhanghe", "jsrg_zoushi", "jsrg_guanyu", "jsrg_chendeng", "jsrg_zhenji", "jsrg_zhangliao", "jsrg_xugong", "jsrg_chunyuqiong"],
jiangshanrugu_zhuan: ["jsrg_guojia", "jsrg_zhangfei", "jsrg_machao", "jsrg_lougui", "jsrg_zhangren", "jsrg_huangzhong", "jsrg_xiahourong", "jsrg_sunshangxiang", "jsrg_pangtong", "jsrg_hansui", "jsrg_zhangchu", "jsrg_xiahouen", "jsrg_fanjiangzhangda"],
jiangshanrugu_he: ["jsrg_zhugeliang", "jsrg_jiangwei", "jsrg_luxun", "jsrg_zhaoyun", "jsrg_simayi", "jsrg_guoxun", "jsrg_sunlubansunluyu", "jsrg_caofang", "jsrg_sunjun", "jsrg_liuyong", "jsrg_weiwenzhugezhi", "jsrg_zhangxuan", "jsrg_gaoxiang", "jsrg_guozhao"],
jiangshanrugu_shuai: ["jsrg_yuanshao"],
jiangshanrugu_shuai: ["jsrg_yuanshao", "jsrg_caojiewangfu", "jsrg_songhuanghou"],
};
const characterSortTranslate = {

View File

@ -367,6 +367,18 @@ const translates = {
jsrgzhuni_info: "出牌阶段限一次,你可以令所有角色同时选择一名除你之外的其他角色。若有角色本回合内被指定过的次数唯一最多,则你本回合内对该角色使用牌没有次数和距离限制。",
jsrghezhi: "合志",
jsrghezhi_info: "主公技,锁定技。其他群势力角色需要因〖诛逆〗而选择角色时,改为选择你本次选择的角色。",
jsrg_caojiewangfu: "衰曹节王甫",
jsrg_caojiewangfu_prefix: "衰",
jsrgzonghai: "纵害",
jsrgzonghai_info: "每轮限一次。当有其他角色进入濒死状态时你可以令其选择至多两名角色。未被选择的角色不能于此次濒死结算中使用牌且此次濒死状态结算结束后你对其选择的角色各造成1点伤害。",
jsrgjueyin: "绝禋",
jsrgjueyin_info: "当你于一回合内首次收到伤害后,你可以摸三张牌,然后本回合内所有角色受到的伤害+1。",
jsrg_songhuanghou: "衰宋皇后",
jsrg_songhuanghou_prefix: "衰",
jsrgzhongzen: "众谮",
jsrgzhongzen_info: "锁定技。①弃牌阶段开始时,你令所有手牌数小于你的角色各交给你一张手牌。②弃牌阶段结束时,若你本阶段弃置的♠牌数大于你的体力值,则你弃置所有牌。",
jsrgxuchong: "虚宠",
jsrgxuchong_info: "当你成为牌的目标后,你可以选择一项:⒈摸一张牌;⒉令当前回合角色本回合的手牌上限+2。选择完成后你获得一张【影】。",
};
export default translates;

View File

@ -1103,6 +1103,7 @@ window.noname_character_rank = {
"chengji",
"mb_sp_guanqiujian",
"jsrg_yuanshao",
"jsrg_songhuanghou",
],
b: [
"junk_guanyu",
@ -1427,6 +1428,7 @@ window.noname_character_rank = {
"clan_wangmingshan",
"yj_simafu",
"dc_wuyi",
"jsrg_caojiewangfu",
],
bm: [
"kongrong",
@ -2719,6 +2721,7 @@ window.noname_character_rank = {
"chengji",
"mb_sp_guanqiujian",
"lizhaojiaobo",
"jsrg_songhuanghou",
],
junk: [
"ol_sb_guanyu",

View File

@ -13248,6 +13248,13 @@ export class Library {
nature: "thundermm",
},
],
[
"衰",
{
color: "#c3f9ff",
nature: "thundermm",
},
],
[
"梦",
{