名将吴懿 添加标记/评级/同名武将/分包/原画

This commit is contained in:
Spmario233 2024-05-04 13:57:51 +08:00
parent c724018291
commit ae95f1f4e8
6 changed files with 29 additions and 3 deletions

View File

@ -4,5 +4,9 @@ const dynamicTranslates = {
dcjianxiong(player) {
return "当你受到伤害后,你可以摸" + get.cnNumber(player.countMark("dcjianxiong") + 1) + "张牌并获得对你造成伤害的牌,然后你令此技能摸牌数+1至多为5。";
},
dcbenxi(player) {
if(player.storage.dcbenxi) return "转换技锁定技。当你失去手牌后系统随机检索出一句转换为拼音后包含“wu,yi”的技能台词然后你念出此台词。<span class='bluetext'>阳你获得上次所念出的台词对应的技能若你已拥有该技能则改为对其他角色各造成1点伤害。</span>";
return "转换技,锁定技。当你失去手牌后,<span class='bluetext'>阴系统随机检索出一句转换为拼音后包含“wu,yi”的技能台词然后你念出此台词。</span>阳你获得上次所念出的台词对应的技能若你已拥有该技能则改为对其他角色各造成1点伤害。";
},
};
export default dynamicTranslates;

View File

@ -47,12 +47,32 @@ const skills = {
}
}
else{
await player.addTempSkills([skill], {player: 'phaseBegin'});
await player.addTempSkills([skill], {player: "phaseBegin"});
}
delete player.storage.dcbenxi_pending;
}
}
},
onremove(player){
delete player.storage.dcbenxi;
delete player.storage.dcbenxi_pending;
},
mark: true,
marktext: "☯",
intro: {
mark(dialog, storage, player){
if(storage){
const skill = player.storage.dcbenxi_pending;
if(skill){
dialog.addText(`锁定技,当你下次失去手牌后,你获得技能〖${get.translation(skill)}〗直到你的下回合开始。若已获得该技能则改为对所有其他角色各造成1点伤害。`, false);
dialog.add('<div><div class="skill">【' + get.translation(lib.translate[skill + "_ab"] || get.translation(skill).slice(0, 2)) + "】</div><div>" + get.skillInfoTranslation(skill, player) + "</div></div>");
}
}
else{
return "锁定技。当你下次失去手牌后你随机念出一句拼音中含有“wu,yi”的台词。";
}
},
},
getMap() {
if (!_status.dcbenxi_map) {
_status.dcbenxi_map = {};

View File

@ -3,7 +3,7 @@ const characterSort = {
collab_tongque: ["sp_fuwan", "sp_fuhuanghou", "sp_jiben", "old_lingju", "sp_mushun"],
collab_duanwu: ["sunwukong", "longwang", "taoshen"],
collab_decade: ["libai", "xiaoyuehankehan", "zhutiexiong", "wu_zhutiexiong"],
collab_remake: ["dc_caocao", "dc_liubei", "dc_sunquan", "nezha", "dc_sunce", "dc_zhaoyun"],
collab_remake: ["dc_caocao", "dc_liubei", "dc_sunquan", "nezha", "dc_sunce", "dc_zhaoyun", "dc_wuyi"],
};
const characterSortTranslate = {

View File

@ -1422,6 +1422,7 @@ window.noname_character_rank = {
"xia_shie",
"clan_wangmingshan",
"yj_simafu",
"dc_wuyi",
],
bm: [
"kongrong",
@ -1728,6 +1729,7 @@ window.noname_character_rank = {
],
rarity: {
legend: [
"dc_wuyi",
"sp_sunce",
"star_caoren",
"dc_zhaoyun",

View File

@ -32,7 +32,7 @@ const characterReplaces = {
chenqun: ["chenqun", "dc_chenqun", "re_chenqun", "old_chenqun"],
hanhaoshihuan: ["hanhaoshihuan", "re_hanhaoshihuan"],
caozhen: ["caozhen", "re_caozhen", "xin_caozhen", "old_caozhen"],
wuyi: ["wuyi", "re_wuyi", "xin_wuyi"],
wuyi: ["wuyi", "re_wuyi", "xin_wuyi", "dc_wuyi"],
sunluban: ["re_sunluban", "xin_sunluban", "sunluban"],
zhuhuan: ["re_zhuhuan", "xin_zhuhuan", "zhuhuan", "old_zhuhuan"],
caoxiu: ["caoxiu", "re_caoxiu", "xin_caoxiu", "tw_caoxiu", "old_caoxiu"],

BIN
image/character/dc_wuyi.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB