Merge pull request #1297 from mengxinzxz/PR-Branch

一将成名2024;技能调整;bugfix
This commit is contained in:
Spmario233 2024-05-01 21:40:19 +08:00 committed by GitHub
commit 285cf9e5d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 3021 additions and 7938 deletions

File diff suppressed because it is too large Load Diff

View File

@ -145,6 +145,7 @@ window.noname_character_rank = {
"clan_zhongyao",
"guanyue",
"wupu",
"xukun",
],
a: [
"star_caoren",
@ -385,6 +386,7 @@ window.noname_character_rank = {
"drag_caoren",
"drag_lvchang",
"star_sunjian",
"yj_xuangongzhu",
],
am: [
"tw_yanliang",
@ -700,6 +702,7 @@ window.noname_character_rank = {
"clan_wangling",
"clan_wangguang",
"lizhaojiaobo",
"linghuyu",
],
bp: [
"xin_huojun",
@ -1418,6 +1421,7 @@ window.noname_character_rank = {
"jsrg_sunjun",
"xia_shie",
"clan_wangmingshan",
"yj_simafu",
],
bm: [
"kongrong",
@ -1921,6 +1925,7 @@ window.noname_character_rank = {
"guanyue",
],
epic: [
"xukun",
"clan_zhongyao",
"dc_caoshuang",
"tianchou",
@ -2210,6 +2215,9 @@ window.noname_character_rank = {
"star_sunjian",
],
rare: [
"linghuyu",
"yj_simafu",
"yj_xuangongzhu",
"drag_lvchang",
"re_wangyi",
"ol_wangyi",

View File

@ -558,8 +558,13 @@ game.import("character", function () {
if (!links || !links.length) return;
const viewAs = { name: links[0][2], nature: links[0][3] };
if (!isMe) {
cards = await target.chooseToGive(player, true).forResultCards();
cards = await target.chooseToGive(player).set('ai', card => {
const player = get.event("player"), target = get.event().getParent().player;
if (get.attitude(player, target) <= 0) return 0;
return 6 - get.value(card);
}).forResultCards();
}
if (!cards) return;
const card = cards[0];
if (player.getCards("h").includes(card)) {
if (!player.storage.dcwuyou_transfer) player.storage.dcwuyou_transfer = {};
@ -572,8 +577,8 @@ game.import("character", function () {
order: 10,
result: {
player(player, target) {
if (get.attitude(player, target) > 0) return 2;
return 1;
if (get.attitude(player, target) > 0) return 1;
return 0;
},
target: 0.5,
},
@ -2367,7 +2372,7 @@ game.import("character", function () {
if (result.bool) {
var target = result.targets[0];
if (storage) {
player.logSkill("dcsbyingmou", result.targets, false);
yield player.logSkill("dcsbyingmou", result.targets, false);
player.line2(result.targets);
player.changeZhuanhuanji("dcsbyingmou");
player.changeSkin("dcsbyingmou", "dc_sb_zhouyu" + (player.storage.dcsbyingmou ? "_shadow" : ""));
@ -2385,7 +2390,7 @@ game.import("character", function () {
}
if (discard && player.countCards("h") < source.countCards("h")) source.chooseToDiscard(source.countCards("h") - player.countCards("h"), "h", true);
} else {
player.logSkill("dcsbyingmou", target);
yield player.logSkill("dcsbyingmou", target);
player.changeZhuanhuanji("dcsbyingmou");
player.changeSkin("dcsbyingmou", "dc_sb_zhouyu" + (player.storage.dcsbyingmou ? "_shadow" : ""));
if (player.countCards("h") < target.countCards("h")) player.draw(Math.min(5, target.countCards("h") - player.countCards("h")));
@ -2590,7 +2595,7 @@ game.import("character", function () {
}
if (result.bool) {
if (!target) target = result.targets[0];
player.logSkill("dcsbmengmou", target);
yield player.logSkill("dcsbmengmou", target);
player.addTempSkill("dcsbmengmou_" + (storage || false));
player.changeZhuanhuanji("dcsbmengmou");
//鲁肃暂时没有另一张原画(悲
@ -17622,7 +17627,7 @@ game.import("character", function () {
dcjuewu_two: "2点",
dcjuewu_info: "①每回合每种牌名限一次。你可以将一张点数为2的牌当任意伤害类牌使用包括【水淹七军】。②当你得到其他角色区域内的牌后你令这些牌的点数均视为2直到你失去这些牌。",
dcwuyou: "武佑",
dcwuyou_info: "①出牌阶段限一次。你可以选择一张手牌,从系统随机生成的五个非装备牌牌名中选择一个,令此牌的牌名与属性视为与你选择的相同。②其他角色的出牌阶段限一次。其可以交给你一张手牌,你从系统随机生成的五个非装备牌牌名中选择一个,然后交给其一张手牌,令此牌的牌名与属性视为与你选择的相同(一名角色使用〖武佑〗转化的牌无距离且无任何次数限制)。",
dcwuyou_info: "①出牌阶段限一次。你可以选择一张手牌,从系统随机生成的五个非装备牌牌名中选择一个,令此牌的牌名与属性视为与你选择的相同。②其他角色的出牌阶段限一次。其可以交给你一张手牌,你从系统随机生成的五个非装备牌牌名中选择一个,然后可以交给其一张手牌,令此牌的牌名与属性视为与你选择的相同(一名角色使用〖武佑〗转化的牌无距离且无任何次数限制)。",
dcyixian: "义贤",
dcyixian_info: "限定技。出牌阶段你可以选择一项⒈获得场上的所有装备牌⒉获得弃牌堆中的所有装备牌。然后你依次选择是否令被你以此法获得牌的角色摸X张牌并回复1点体力X为其以此法失去的牌数。",
shuiyanqijuny: "水淹七军",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
image/character/xukun.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB