From 81a87f28c1a2e0d3357532e47277b3719bd01dd4 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Sun, 28 Apr 2024 15:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=B1=9E=E5=8D=A1=E7=89=8C=E8=8A=B1?= =?UTF-8?q?=E8=89=B2=E7=82=B9=E6=95=B0=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- character/tw.js | 2 +- character/yingbian.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/character/tw.js b/character/tw.js index b3f67bd43..92e2fbd67 100644 --- a/character/tw.js +++ b/character/tw.js @@ -19421,7 +19421,7 @@ game.import("character", function () { }); "step 1"; if (result.bool) { - var card = game.createCard2(result.links[0][2]); + var card = game.createCard2(result.links[0][2], "heart", 1); lib.inpile.add(result.links[0][2]); player.storage.twsidao = card; player.chooseUseTarget(card, "nopopup", true); diff --git a/character/yingbian.js b/character/yingbian.js index 15a605753..cfb76baec 100644 --- a/character/yingbian.js +++ b/character/yingbian.js @@ -2693,7 +2693,8 @@ game.import("character", function () { return Math.random(); }); "step 1"; - var card = game.createCard(result.links[0][2]); + var name = result.links[0][2], + card = game.createCard(name, lib.card[name].cardcolor, 5); player.$gain2(card); player.equip(card); game.delay(); @@ -2756,6 +2757,7 @@ game.import("character", function () { cheliji_sichengliangyu: { trigger: { global: "phaseJieshuBegin" }, equipSkill: true, + cardcolor: "heart", filter: function (event, player) { return player.countCards("h") < player.hp && player.getEquip("cheliji_sichengliangyu"); }, @@ -2770,6 +2772,7 @@ game.import("character", function () { cheliji_tiejixuanyu: { trigger: { global: "phaseJieshuBegin" }, equipSkill: true, + cardcolor: "club", filter: function (event, player) { return ( player != event.player && @@ -2793,6 +2796,7 @@ game.import("character", function () { cheliji_feilunzhanyu: { trigger: { global: "phaseJieshuBegin" }, equipSkill: true, + cardcolor: "spade", filter: function (event, player) { return ( player != event.player &&