专属卡牌花色点数补充

This commit is contained in:
157 2024-04-28 15:44:44 +08:00
parent e6424b57cb
commit 81a87f28c1
2 changed files with 6 additions and 2 deletions

View File

@ -19421,7 +19421,7 @@ game.import("character", function () {
}); });
"step 1"; "step 1";
if (result.bool) { 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]); lib.inpile.add(result.links[0][2]);
player.storage.twsidao = card; player.storage.twsidao = card;
player.chooseUseTarget(card, "nopopup", true); player.chooseUseTarget(card, "nopopup", true);

View File

@ -2693,7 +2693,8 @@ game.import("character", function () {
return Math.random(); return Math.random();
}); });
"step 1"; "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.$gain2(card);
player.equip(card); player.equip(card);
game.delay(); game.delay();
@ -2756,6 +2757,7 @@ game.import("character", function () {
cheliji_sichengliangyu: { cheliji_sichengliangyu: {
trigger: { global: "phaseJieshuBegin" }, trigger: { global: "phaseJieshuBegin" },
equipSkill: true, equipSkill: true,
cardcolor: "heart",
filter: function (event, player) { filter: function (event, player) {
return player.countCards("h") < player.hp && player.getEquip("cheliji_sichengliangyu"); return player.countCards("h") < player.hp && player.getEquip("cheliji_sichengliangyu");
}, },
@ -2770,6 +2772,7 @@ game.import("character", function () {
cheliji_tiejixuanyu: { cheliji_tiejixuanyu: {
trigger: { global: "phaseJieshuBegin" }, trigger: { global: "phaseJieshuBegin" },
equipSkill: true, equipSkill: true,
cardcolor: "club",
filter: function (event, player) { filter: function (event, player) {
return ( return (
player != event.player && player != event.player &&
@ -2793,6 +2796,7 @@ game.import("character", function () {
cheliji_feilunzhanyu: { cheliji_feilunzhanyu: {
trigger: { global: "phaseJieshuBegin" }, trigger: { global: "phaseJieshuBegin" },
equipSkill: true, equipSkill: true,
cardcolor: "spade",
filter: function (event, player) { filter: function (event, player) {
return ( return (
player != event.player && player != event.player &&