Merge pull request #1297 from mengxinzxz/PR-Branch
一将成名2024;技能调整;bugfix
This commit is contained in:
commit
285cf9e5d8
5343
character/mobile.js
5343
character/mobile.js
File diff suppressed because it is too large
Load Diff
|
@ -145,6 +145,7 @@ window.noname_character_rank = {
|
||||||
"clan_zhongyao",
|
"clan_zhongyao",
|
||||||
"guanyue",
|
"guanyue",
|
||||||
"wupu",
|
"wupu",
|
||||||
|
"xukun",
|
||||||
],
|
],
|
||||||
a: [
|
a: [
|
||||||
"star_caoren",
|
"star_caoren",
|
||||||
|
@ -385,6 +386,7 @@ window.noname_character_rank = {
|
||||||
"drag_caoren",
|
"drag_caoren",
|
||||||
"drag_lvchang",
|
"drag_lvchang",
|
||||||
"star_sunjian",
|
"star_sunjian",
|
||||||
|
"yj_xuangongzhu",
|
||||||
],
|
],
|
||||||
am: [
|
am: [
|
||||||
"tw_yanliang",
|
"tw_yanliang",
|
||||||
|
@ -700,6 +702,7 @@ window.noname_character_rank = {
|
||||||
"clan_wangling",
|
"clan_wangling",
|
||||||
"clan_wangguang",
|
"clan_wangguang",
|
||||||
"lizhaojiaobo",
|
"lizhaojiaobo",
|
||||||
|
"linghuyu",
|
||||||
],
|
],
|
||||||
bp: [
|
bp: [
|
||||||
"xin_huojun",
|
"xin_huojun",
|
||||||
|
@ -1418,6 +1421,7 @@ window.noname_character_rank = {
|
||||||
"jsrg_sunjun",
|
"jsrg_sunjun",
|
||||||
"xia_shie",
|
"xia_shie",
|
||||||
"clan_wangmingshan",
|
"clan_wangmingshan",
|
||||||
|
"yj_simafu",
|
||||||
],
|
],
|
||||||
bm: [
|
bm: [
|
||||||
"kongrong",
|
"kongrong",
|
||||||
|
@ -1921,6 +1925,7 @@ window.noname_character_rank = {
|
||||||
"guanyue",
|
"guanyue",
|
||||||
],
|
],
|
||||||
epic: [
|
epic: [
|
||||||
|
"xukun",
|
||||||
"clan_zhongyao",
|
"clan_zhongyao",
|
||||||
"dc_caoshuang",
|
"dc_caoshuang",
|
||||||
"tianchou",
|
"tianchou",
|
||||||
|
@ -2210,6 +2215,9 @@ window.noname_character_rank = {
|
||||||
"star_sunjian",
|
"star_sunjian",
|
||||||
],
|
],
|
||||||
rare: [
|
rare: [
|
||||||
|
"linghuyu",
|
||||||
|
"yj_simafu",
|
||||||
|
"yj_xuangongzhu",
|
||||||
"drag_lvchang",
|
"drag_lvchang",
|
||||||
"re_wangyi",
|
"re_wangyi",
|
||||||
"ol_wangyi",
|
"ol_wangyi",
|
||||||
|
|
|
@ -558,8 +558,13 @@ game.import("character", function () {
|
||||||
if (!links || !links.length) return;
|
if (!links || !links.length) return;
|
||||||
const viewAs = { name: links[0][2], nature: links[0][3] };
|
const viewAs = { name: links[0][2], nature: links[0][3] };
|
||||||
if (!isMe) {
|
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];
|
const card = cards[0];
|
||||||
if (player.getCards("h").includes(card)) {
|
if (player.getCards("h").includes(card)) {
|
||||||
if (!player.storage.dcwuyou_transfer) player.storage.dcwuyou_transfer = {};
|
if (!player.storage.dcwuyou_transfer) player.storage.dcwuyou_transfer = {};
|
||||||
|
@ -572,8 +577,8 @@ game.import("character", function () {
|
||||||
order: 10,
|
order: 10,
|
||||||
result: {
|
result: {
|
||||||
player(player, target) {
|
player(player, target) {
|
||||||
if (get.attitude(player, target) > 0) return 2;
|
if (get.attitude(player, target) > 0) return 1;
|
||||||
return 1;
|
return 0;
|
||||||
},
|
},
|
||||||
target: 0.5,
|
target: 0.5,
|
||||||
},
|
},
|
||||||
|
@ -2367,7 +2372,7 @@ game.import("character", function () {
|
||||||
if (result.bool) {
|
if (result.bool) {
|
||||||
var target = result.targets[0];
|
var target = result.targets[0];
|
||||||
if (storage) {
|
if (storage) {
|
||||||
player.logSkill("dcsbyingmou", result.targets, false);
|
yield player.logSkill("dcsbyingmou", result.targets, false);
|
||||||
player.line2(result.targets);
|
player.line2(result.targets);
|
||||||
player.changeZhuanhuanji("dcsbyingmou");
|
player.changeZhuanhuanji("dcsbyingmou");
|
||||||
player.changeSkin("dcsbyingmou", "dc_sb_zhouyu" + (player.storage.dcsbyingmou ? "_shadow" : ""));
|
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);
|
if (discard && player.countCards("h") < source.countCards("h")) source.chooseToDiscard(source.countCards("h") - player.countCards("h"), "h", true);
|
||||||
} else {
|
} else {
|
||||||
player.logSkill("dcsbyingmou", target);
|
yield player.logSkill("dcsbyingmou", target);
|
||||||
player.changeZhuanhuanji("dcsbyingmou");
|
player.changeZhuanhuanji("dcsbyingmou");
|
||||||
player.changeSkin("dcsbyingmou", "dc_sb_zhouyu" + (player.storage.dcsbyingmou ? "_shadow" : ""));
|
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")));
|
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 (result.bool) {
|
||||||
if (!target) target = result.targets[0];
|
if (!target) target = result.targets[0];
|
||||||
player.logSkill("dcsbmengmou", target);
|
yield player.logSkill("dcsbmengmou", target);
|
||||||
player.addTempSkill("dcsbmengmou_" + (storage || false));
|
player.addTempSkill("dcsbmengmou_" + (storage || false));
|
||||||
player.changeZhuanhuanji("dcsbmengmou");
|
player.changeZhuanhuanji("dcsbmengmou");
|
||||||
//鲁肃暂时没有另一张原画(悲
|
//鲁肃暂时没有另一张原画(悲
|
||||||
|
@ -17622,7 +17627,7 @@ game.import("character", function () {
|
||||||
dcjuewu_two: "2点",
|
dcjuewu_two: "2点",
|
||||||
dcjuewu_info: "①每回合每种牌名限一次。你可以将一张点数为2的牌当任意伤害类牌使用(包括【水淹七军】)。②当你得到其他角色区域内的牌后,你令这些牌的点数均视为2直到你失去这些牌。",
|
dcjuewu_info: "①每回合每种牌名限一次。你可以将一张点数为2的牌当任意伤害类牌使用(包括【水淹七军】)。②当你得到其他角色区域内的牌后,你令这些牌的点数均视为2直到你失去这些牌。",
|
||||||
dcwuyou: "武佑",
|
dcwuyou: "武佑",
|
||||||
dcwuyou_info: "①出牌阶段限一次。你可以选择一张手牌,从系统随机生成的五个非装备牌牌名中选择一个,令此牌的牌名与属性视为与你选择的相同。②其他角色的出牌阶段限一次。其可以交给你一张手牌,你从系统随机生成的五个非装备牌牌名中选择一个,然后交给其一张手牌,令此牌的牌名与属性视为与你选择的相同(一名角色使用〖武佑〗转化的牌无距离且无任何次数限制)。",
|
dcwuyou_info: "①出牌阶段限一次。你可以选择一张手牌,从系统随机生成的五个非装备牌牌名中选择一个,令此牌的牌名与属性视为与你选择的相同。②其他角色的出牌阶段限一次。其可以交给你一张手牌,你从系统随机生成的五个非装备牌牌名中选择一个,然后可以交给其一张手牌,令此牌的牌名与属性视为与你选择的相同(一名角色使用〖武佑〗转化的牌无距离且无任何次数限制)。",
|
||||||
dcyixian: "义贤",
|
dcyixian: "义贤",
|
||||||
dcyixian_info: "限定技。出牌阶段,你可以选择一项:⒈获得场上的所有装备牌;⒉获得弃牌堆中的所有装备牌。然后你依次选择是否令被你以此法获得牌的角色摸X张牌并回复1点体力(X为其以此法失去的牌数)。",
|
dcyixian_info: "限定技。出牌阶段,你可以选择一项:⒈获得场上的所有装备牌;⒉获得弃牌堆中的所有装备牌。然后你依次选择是否令被你以此法获得牌的角色摸X张牌并回复1点体力(X为其以此法失去的牌数)。",
|
||||||
shuiyanqijuny: "水淹七军",
|
shuiyanqijuny: "水淹七军",
|
||||||
|
|
4232
character/yijiang.js
4232
character/yijiang.js
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 |
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 |
Loading…
Reference in New Issue