From 94511b2b864d1b4faf4bc47ab28efb580a9efdb7 Mon Sep 17 00:00:00 2001 From: 157 <3619242020@qq.com> Date: Sun, 28 Apr 2024 16:21:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=93=E5=B1=9E=E5=8D=A1=E7=89=8Ccardcolor?= =?UTF-8?q?=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- card/guozhan.js | 2 ++ card/yingbian.js | 4 ++++ character/collab.js | 1 + character/jsrg.js | 1 + character/mobile.js | 1 + character/onlyOL.js | 1 + character/sp.js | 22 +++++++++++++++++----- character/tw.js | 4 ++++ character/xianding.js | 7 +++++++ 9 files changed, 38 insertions(+), 5 deletions(-) diff --git a/card/guozhan.js b/card/guozhan.js index f23f18c56..eb62acee6 100644 --- a/card/guozhan.js +++ b/card/guozhan.js @@ -482,6 +482,7 @@ game.import("card", function () { fullskin: true, type: "equip", subtype: "equip2", + cardcolor: "heart", nomod: true, nopower: true, unique: true, @@ -1059,6 +1060,7 @@ game.import("card", function () { fullskin: true, type: "equip", subtype: "equip2", + cardcolor: "club", skills: ["huxinjing"], filterTarget: function (card, player, target) { if (get.mode() == "guozhan" && player != target) return false; diff --git a/card/yingbian.js b/card/yingbian.js index 1f83bb44d..c2edf19fe 100644 --- a/card/yingbian.js +++ b/card/yingbian.js @@ -281,6 +281,7 @@ game.import("card", function () { fullskin: true, type: "equip", subtype: "equip1", + cardcolor: "diamond", distance: { attackFrom: -3 }, ai: { basic: { @@ -307,6 +308,7 @@ game.import("card", function () { fullskin: true, type: "equip", subtype: "equip2", + cardcolor: "club", ai: { basic: { equipValue: 2, @@ -331,6 +333,7 @@ game.import("card", function () { fullskin: true, type: "equip", subtype: "equip5", + cardcolor: "club", skills: ["tianjitu_skill"], onLose: function () { player.addTempSkill("tianjitu_skill_lose"); @@ -355,6 +358,7 @@ game.import("card", function () { fullskin: true, type: "equip", subtype: "equip5", + cardcolor: "spade", ai: { basic: { equipValue: 3, diff --git a/character/collab.js b/character/collab.js index 2ab724c6e..0e4882936 100644 --- a/character/collab.js +++ b/character/collab.js @@ -2270,6 +2270,7 @@ game.import("character", function () { derivation: "sunwukong", type: "equip", subtype: "equip1", + cardcolor: "heart", skills: ["ruyijingubang_skill", "ruyijingubang_effect"], equipDelay: false, distance: { diff --git a/character/jsrg.js b/character/jsrg.js index df341352d..67bb2548a 100644 --- a/character/jsrg.js +++ b/character/jsrg.js @@ -118,6 +118,7 @@ game.import("character", function () { audio: true, fullskin: true, type: "basic", + cardcolor: "spade", enable: false, destroy: "discardPile", getYing: function (count) { diff --git a/character/mobile.js b/character/mobile.js index 8fc7fcbda..cd31a94bd 100644 --- a/character/mobile.js +++ b/character/mobile.js @@ -428,6 +428,7 @@ game.import("character", function () { fullskin: true, //vanish:true, derivation: "liuye", + cardcolor: "diamond", type: "equip", subtype: "equip1", distance: { attackFrom: -8 }, diff --git a/character/onlyOL.js b/character/onlyOL.js index 5593cbf57..999b8fd08 100644 --- a/character/onlyOL.js +++ b/character/onlyOL.js @@ -56,6 +56,7 @@ game.import("character", function () { card: { sizhaojian: { derivation: "ol_sb_yuanshao", + cardcolor: "diamond", fullskin: true, type: "equip", subtype: "equip1", diff --git a/character/sp.js b/character/sp.js index 8ff6fc844..936210987 100755 --- a/character/sp.js +++ b/character/sp.js @@ -396,6 +396,7 @@ game.import("character", function () { //蒲元衍生 sanlve: { derivation: "ol_puyuan", + cardcolor: "spade", type: "equip", subtype: "equip5", ai: { @@ -408,6 +409,7 @@ game.import("character", function () { }, zhaogujing: { derivation: "ol_puyuan", + cardcolor: "diamond", type: "equip", subtype: "equip5", ai: { @@ -420,6 +422,7 @@ game.import("character", function () { }, shufazijinguan: { derivation: "ol_puyuan", + cardcolor: "diamond", type: "equip", subtype: "equip5", modeimage: "boss", @@ -433,6 +436,7 @@ game.import("character", function () { }, xuwangzhimian: { derivation: "ol_puyuan", + cardcolor: "club", type: "equip", fullskin: true, subtype: "equip5", @@ -444,6 +448,7 @@ game.import("character", function () { }, hongmianbaihuapao: { derivation: "ol_puyuan", + cardcolor: "club", type: "equip", subtype: "equip2", modeimage: "boss", @@ -457,6 +462,7 @@ game.import("character", function () { }, guofengyupao: { derivation: "ol_puyuan", + cardcolor: "spade", type: "equip", fullskin: true, modeimage: "boss", @@ -468,6 +474,7 @@ game.import("character", function () { }, qimenbagua: { derivation: "ol_puyuan", + cardcolor: "spade", type: "equip", fullskin: true, modeimage: "boss", @@ -479,6 +486,7 @@ game.import("character", function () { }, linglongshimandai: { derivation: "ol_puyuan", + cardcolor: "spade", type: "equip", subtype: "equip2", modeimage: "boss", @@ -492,6 +500,7 @@ game.import("character", function () { }, chixueqingfeng: { derivation: "ol_puyuan", + cardcolor: "spade", type: "equip", fullskin: true, modeimage: "boss", @@ -504,6 +513,7 @@ game.import("character", function () { }, guilongzhanyuedao: { derivation: "ol_puyuan", + cardcolor: "spade", type: "equip", fullskin: true, modeimage: "boss", @@ -519,6 +529,7 @@ game.import("character", function () { }, wushuangfangtianji: { derivation: "ol_puyuan", + cardcolor: "diamond", type: "equip", modeimage: "boss", subtype: "equip1", @@ -535,6 +546,7 @@ game.import("character", function () { }, bintieshuangji: { derivation: "ol_puyuan", + cardcolor: "diamond", type: "equip", subtype: "equip1", distance: { @@ -651,8 +663,8 @@ game.import("character", function () { fullskin: true, vanish: true, derivation: "fengfangnv", + cardcolor: "spade", type: "equip", - suit: "spade", subtype: "equip5", skills: ["zhuangshu_basic"], forceDie: true, @@ -677,8 +689,8 @@ game.import("character", function () { fullskin: true, vanish: true, derivation: "fengfangnv", + cardcolor: "club", type: "equip", - suit: "club", subtype: "equip5", forceDie: true, skills: ["zhuangshu_trick"], @@ -697,8 +709,8 @@ game.import("character", function () { fullskin: true, vanish: true, derivation: "fengfangnv", + cardcolor: "heart", type: "equip", - suit: "heart", subtype: "equip5", skills: ["zhuangshu_equip"], forceDie: true, @@ -13420,7 +13432,7 @@ game.import("character", function () { var card = target.getEquip(name); target.$give(card, trigger.player, false); } else { - var card = game.createCard(name, lib.card[name].suit, 12); + var card = game.createCard(name, lib.card[name].cardcolor, 12); trigger.player.$gain2(card, false); } game.delayx(); @@ -13447,7 +13459,7 @@ game.import("character", function () { if (result.bool) { player.logSkill("zhuangshu"); var name = result.links[0][2], - card = game.createCard(name, lib.card[name].suit, 12); + card = game.createCard(name, lib.card[name].cardcolor, 12); player.$gain2(card, false); game.delayx(); player.equip(card); diff --git a/character/tw.js b/character/tw.js index 92e2fbd67..e4cbcf7c2 100644 --- a/character/tw.js +++ b/character/tw.js @@ -380,6 +380,7 @@ game.import("character", function () { type: "equip", subtype: "equip1", derivation: "tw_gexuan", + cardcolor: "heart", distance: { attackFrom: -2 }, ai: { basic: { @@ -393,6 +394,7 @@ game.import("character", function () { type: "equip", subtype: "equip1", derivation: "tw_gexuan", + cardcolor: "heart", distance: { attackFrom: -4 }, ai: { basic: { @@ -406,6 +408,7 @@ game.import("character", function () { type: "equip", subtype: "equip2", derivation: "tw_gexuan", + cardcolor: "heart", ai: { basic: { equipValue: 7, @@ -419,6 +422,7 @@ game.import("character", function () { type: "equip", subtype: "equip1", cardimage: "yinyueqiang", + cardcolor: "diamond", derivation: "tw_zhaoxiang", distance: { attackFrom: -2 }, ai: { diff --git a/character/xianding.js b/character/xianding.js index b0bc9d0e3..1034fcca3 100644 --- a/character/xianding.js +++ b/character/xianding.js @@ -18877,6 +18877,7 @@ game.import("character", function () { pyzhuren_heart: { fullskin: true, derivation: "puyuan", + cardcolor: "heart", type: "equip", subtype: "equip1", distance: { attackFrom: -2 }, @@ -18895,6 +18896,7 @@ game.import("character", function () { pyzhuren_diamond: { fullskin: true, derivation: "puyuan", + cardcolor: "diamond", type: "equip", subtype: "equip1", distance: { attackFrom: -1 }, @@ -18913,6 +18915,7 @@ game.import("character", function () { pyzhuren_club: { fullskin: true, derivation: "puyuan", + cardcolor: "club", type: "equip", subtype: "equip1", distance: { attackFrom: -1 }, @@ -18944,6 +18947,7 @@ game.import("character", function () { pyzhuren_spade: { fullskin: true, derivation: "puyuan", + cardcolor: "spade", type: "equip", subtype: "equip1", skills: ["pyzhuren_spade"], @@ -18961,6 +18965,7 @@ game.import("character", function () { pyzhuren_shandian: { fullskin: true, derivation: "puyuan", + cardcolor: "spade", type: "equip", subtype: "equip1", distance: { attackFrom: -3 }, @@ -18979,6 +18984,7 @@ game.import("character", function () { dagongche: { fullskin: true, derivation: "zhangfen", + cardcolor: "spade", type: "equip", subtype: "equip5", skills: ["dagongche_skill"], @@ -19008,6 +19014,7 @@ game.import("character", function () { fullskin: true, derivation: "dc_liuye", cardimage: "ly_piliche", + cardcolor: "diamond", type: "equip", subtype: "equip5", skills: ["pilitoushiche"],