From 27e269ec160985e96c522dab24bb0ad864cb4fd5 Mon Sep 17 00:00:00 2001
From: mengxinzxz <2223529500@qq.com>
Date: Sun, 21 Apr 2024 00:46:20 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E9=B2=81=E8=82=83=E5=8F=88=E5=8F=8C?=
=?UTF-8?q?=E5=8F=92=E5=8F=95=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
character/extra.js | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/character/extra.js b/character/extra.js
index c70a11367..acd1b10ee 100755
--- a/character/extra.js
+++ b/character/extra.js
@@ -33,7 +33,7 @@ game.import("character", function () {
character: {
dc_shen_huatuo: ["male", "shen", 3, ["jingyu", "lvxin", "huandao"], ["qun"]],
shen_xuzhu: ["male", "shen", 5, ["zhengqing", "zhuangpo"], ["wei"]],
- shen_lusu: ["male", "shen", 3, ["dingzhou", "tamo", "zhimeng"], ["wu"]],
+ shen_lusu: ["male", "shen", 3, ["tamo", "dingzhou", "zhimeng"], ["wu"]],
shen_huatuo: ["male", "shen", 3, ["wuling", "youyi"], ["qun"]],
le_shen_jiaxu: ["male", "shen", 4, ["jxlianpo", "jxzhaoluan"], ["qun"]],
shen_dianwei: ["male", "shen", 4, ["juanjia", "qiexie", "cuijue"], ["wei"]],
@@ -715,7 +715,7 @@ game.import("character", function () {
eff = ui.selected.cards
.map((card) => get.value(card))
.reduce((p, c) => p + c, 0);
- if (player.hasSkill("zhimeng")) eff *= 1 + get.sgnAttitude(player, target) * 0.15;
+ if (player.hasSkill("zhimeng") && (get.mode() == 'identity' || (player.countCards('h') - target.countCards('h') > 2 * ui.selected.cards.length))) eff *= 1 + get.sgnAttitude(player, target) * 0.15;
const es = target.getCards("e"),
js = target.getCards("j");
es.forEach((card) => {
@@ -931,8 +931,7 @@ game.import("character", function () {
filter(event, player) {
return game.hasPlayer(target => {
if (target == player || target.countCards('h') + player.countCards('h') == 0) return false;
- // return get.mode() == 'identity' || target.countCards('h') <= player.countCards('h') + 1;
- return true;
+ return get.mode() == 'identity' || target.countCards('h') <= player.countCards('h') + 1;
});
},
direct: true,
@@ -945,8 +944,7 @@ game.import("character", function () {
"与一名其他角色平分手牌",
(card, player, target) => {
if (target == player || target.countCards('h') + player.countCards('h') == 0) return false;
- // return get.mode() == 'identity' || target.countCards('h') <= player.countCards('h') + 1;
- return true;
+ return get.mode() == 'identity' || target.countCards('h') <= player.countCards('h') + 1;
}
)
.set("ai", (target) => {
@@ -10845,14 +10843,16 @@ game.import("character", function () {
dingzhou_info:
"出牌阶段限一次。你可以将X张牌交给一名场上有牌的角色,然后你获得其场上的所有牌(X为其场上的牌数)。",
tamo: "榻谟",
- tamo_info_doudizhu: "游戏开始时,你可以重新分配除三号位角色外所有角色的座次。",
tamo_info: "游戏开始时,你可以重新分配除主公外所有角色的座次。",
+ tamo_info_doudizhu: "游戏开始时,你可以重新分配除三号位角色外所有角色的座次。",
tamo_faq: "FAQ",
tamo_faq_info:
"