fixed # 新增药水机制

This commit is contained in:
2026-11-23 23:45:37 +08:00
parent f955716c97
commit 0eeba640ae
45 changed files with 1053 additions and 235 deletions
+5
View File
@@ -6,3 +6,8 @@ export function cleanCardDescription(value) {
.replace(/^(?:主动使用消耗\s*\d+\s*(?:点)?费用|响应不消耗费用|\d+\s*(?:点)?费(?:用)?)[。;::,,]\s*/, "")
.replace(/^(?:主动使用消耗X费用|X费)[。;]\s*/, "消耗当前剩余费用,消耗量为X。");
}
export function cardDescriptionText(card, definition, fallback) {
const prompt = typeof definition?.cardPrompt === "function" ? definition.cardPrompt(card) : null;
return prompt || fallback || "暂无卡牌介绍。";
}
+4 -4
View File
@@ -58,12 +58,12 @@ export function createMengsanCards({ cardPacks, isBattleActive = () => true } =
card.sha.cardPrompt = used => {
const damage = cardUpgradeLevel(used)
? cardUpgradeRule("sha").damage : SHA_DAMAGE;
return `梦三:主动使用消耗1费用;目标须使用【闪】,` +
`否则受到${damage}点伤害。每回合使用次数不限。`;
return `出牌阶段,对攻击范围内的一名角色使用。目标须使用【闪】,否则受到${damage}点伤害。每回合使用次数不限。`;
};
translate.sha_info = `梦三:主动使用消耗1费用。出牌阶段,对攻击范围内的一名角色使用;其须使用【闪】,否则受到${SHA_DAMAGE}点伤害。每回合使用次数不限。`;
translate.sha_info = card.sha.cardPrompt({ name: "sha" });
card.tao.content = async function (event) { await event.target.recover(8); };
translate.tao_info = "梦三:主动使用消耗1费用,回复8点生命;濒死救援不消耗费用,同样回复8点生命。";
translate.tao_info = "出牌阶段,为自己回复8点生命。救援濒死角色时,为该角色回复8点生命,且不消耗费用。";
card.tao.cardPrompt = () => translate.tao_info;
card.taoyuan.content = async function (event) { await event.target.recover(8); };
translate.taoyuan_info = "梦三:主动使用消耗2费用。所有角色各回复8点生命。";
card.taoyuan.cardPrompt = () => translate.taoyuan_info;
+62 -62
View File
@@ -80,7 +80,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "uncommon",
"cost": 0,
"description": "造成8点伤害。对所有其他敌人造成等量的伤害。",
"description": "对目标造成8点伤害,再对其余敌人造成等量的非攻击伤害。",
"base": {
"damage": 8,
"hits": 1
@@ -89,7 +89,7 @@ export const colorlessCards = Object.freeze([
"damage": 11,
"hits": 1,
"cost": 0,
"description": "造成11点伤害。对所有其他敌人造成等量的伤害。"
"description": "对目标造成11点伤害,再对其余敌人造成等量的非攻击伤害。"
}
},
{
@@ -122,7 +122,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "uncommon",
"cost": 1,
"description": "造成7点伤害。获得等量于所造成伤害的格挡。",
"description": "造成7点伤害,并获得等量格挡。被敌人格挡吸收的伤害也计入。",
"base": {
"damage": 7,
"hits": 1
@@ -131,7 +131,7 @@ export const colorlessCards = Object.freeze([
"damage": 9,
"hits": 1,
"cost": 1,
"description": "造成9点伤害。获得等量于所造成伤害的格挡。"
"description": "造成9点伤害,并获得等量格挡。被敌人格挡吸收的伤害也计入。"
}
},
{
@@ -143,7 +143,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "uncommon",
"cost": 1,
"description": "造成5点伤害。本回合其他玩家每攻击过一次该敌人,该牌造成的伤害就额外增加5点。",
"description": "造成5点伤害。本回合每有一次其他友方角色对该目标的攻击,此牌的基础伤害增加5点。",
"base": {
"damage": 5,
"hits": 1,
@@ -154,7 +154,7 @@ export const colorlessCards = Object.freeze([
"hits": 1,
"perAllyAttack": 7,
"cost": 1,
"description": "造成5点伤害。本回合其他玩家每攻击过一次该敌人,该牌造成的伤害就额外增加7点。"
"description": "造成5点伤害。本回合每有一次其他友方角色对该目标的攻击,此牌的基础伤害增加7点。"
}
},
{
@@ -229,7 +229,7 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 0,
"description": "使一名敌人在本回合失去9点力量。消耗。",
"description": "使一名敌人失去9点力量,直到该敌人自己的回合结束。消耗。",
"base": {
"exhaust": true,
"negativeStrength": 9
@@ -238,7 +238,7 @@ export const colorlessCards = Object.freeze([
"exhaust": true,
"negativeStrength": 15,
"cost": 0,
"description": "使一名敌人在本回合失去15点力量。消耗。"
"description": "使一名敌人失去15点力量,直到该敌人自己的回合结束。消耗。"
}
},
{
@@ -354,7 +354,7 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 0,
"description": "获得2点能量。消耗。",
"description": "补充2点费用。消耗。",
"base": {
"exhaust": true,
"energy": 2
@@ -363,7 +363,7 @@ export const colorlessCards = Object.freeze([
"exhaust": true,
"energy": 3,
"cost": 0,
"description": "获得3点能量。消耗。"
"description": "补充3点费用。消耗。"
}
},
{
@@ -375,14 +375,14 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 0,
"description": "另一名玩家获得2点能量。",
"description": "为另一名友方角色补充2点费用。若当前轮到该角色,立即生效,否则在其下个回合开始时补充。",
"base": {
"allyEnergy": 2
},
"upgraded": {
"allyEnergy": 3,
"cost": 0,
"description": "另一名玩家获得3点能量。"
"description": "为另一名友方角色补充3点费用。若当前轮到该角色,立即生效,否则在其下个回合开始时补充。"
}
},
{
@@ -394,7 +394,7 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 0,
"description": "保留。如果你的手牌为空,则抽2张牌并获得2点能量。",
"description": "保留。若结算时你没有手牌,抽2张牌并补充2点费用。",
"base": {
"retain": true,
"emptyDraw": 2,
@@ -405,7 +405,7 @@ export const colorlessCards = Object.freeze([
"emptyDraw": 3,
"emptyEnergy": 3,
"cost": 0,
"description": "保留。如果你的手牌为空,则抽3张牌并获得3点能量。"
"description": "保留。若结算时你没有手牌,抽3张牌并补充3点费用。"
}
},
{
@@ -417,13 +417,13 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 0,
"description": "在下个回合获得等量于你当前格挡值的格挡。消耗。",
"description": "记录你当前的格挡值。在你的下个回合开始时,获得等量格挡。消耗。",
"base": {
"exhaust": true
},
"upgraded": {
"cost": 0,
"description": "在下个回合获得等量于你当前格挡值的格挡。"
"description": "记录你当前的格挡值。在你的下个回合开始时,获得等量格挡。"
}
},
{
@@ -435,7 +435,7 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 0,
"description": "获得30点格挡。你在接下来的2回合内无法再从卡牌中获得格挡。消耗。",
"description": "获得30点格挡。此后,直到你的回合结束两次,你无法再通过卡牌获得格挡。消耗。",
"base": {
"exhaust": true,
"block": 30
@@ -444,7 +444,7 @@ export const colorlessCards = Object.freeze([
"exhaust": true,
"block": 40,
"cost": 0,
"description": "获得40点格挡。你在接下来的2回合内无法再从卡牌中获得格挡。消耗。"
"description": "获得40点格挡。此后,直到你的回合结束两次,你无法再通过卡牌获得格挡。消耗。"
}
},
{
@@ -456,7 +456,7 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 1,
"description": "所有玩家抽2张牌。消耗。",
"description": "你和每名其他友方角色各抽2张牌。消耗。",
"base": {
"exhaust": true,
"teamDraw": 2
@@ -465,7 +465,7 @@ export const colorlessCards = Object.freeze([
"exhaust": true,
"teamDraw": 3,
"cost": 1,
"description": "所有玩家抽3张牌。消耗。"
"description": "你和每名其他友方角色各抽3张牌。消耗。"
}
},
{
@@ -533,14 +533,14 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 1,
"description": "给另一名玩家11点格挡。",
"description": "让另一名友方角色获得11点格挡。",
"base": {
"allyBlock": 11
},
"upgraded": {
"allyBlock": 16,
"cost": 1,
"description": "给另一名玩家16点格挡。"
"description": "让另一名友方角色获得16点格挡。"
}
},
{
@@ -552,14 +552,14 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 1,
"description": "在本回合给予其他玩家5点力量。",
"description": "每名其他友方角色各获得5点力量,持续到各自的行动回合结束。",
"base": {
"teamStrength": 5
},
"upgraded": {
"teamStrength": 8,
"cost": 1,
"description": "在本回合给予其他玩家8点力量。"
"description": "每名其他友方角色各获得8点力量,持续到各自的行动回合结束。"
}
},
{
@@ -571,14 +571,14 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 2,
"description": "从你的抽牌堆中随机打出2张牌。",
"description": "从你的抽牌堆随机选取2张牌并免费打出。",
"base": {
"autoDraw": 2
},
"upgraded": {
"autoDraw": 3,
"cost": 2,
"description": "从你的抽牌堆中随机打出3张牌。"
"description": "从你的抽牌堆随机选取3张牌并免费打出。"
}
},
{
@@ -609,14 +609,14 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "uncommon",
"cost": 2,
"description": "在3回合结束后,对所有敌人造成40点伤害。",
"description": "在你的第3次回合结束阶段,对所有敌人造成40点非攻击伤害。",
"base": {
"bombDamage": 40
},
"upgraded": {
"bombDamage": 50,
"cost": 2,
"description": "在3回合结束后,对所有敌人造成50点伤害。"
"description": "在你的第3次回合结束阶段,对所有敌人造成50点非攻击伤害。"
}
},
{
@@ -653,14 +653,14 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "uncommon",
"cost": 0,
"description": "每当你在一回合内打出五张牌时,对所有敌人造成10点伤害。",
"description": "你每打出5张牌,对所有敌人造成10点非攻击伤害。计数在你的回合开始时清零。",
"base": {
"panache": 10
},
"upgraded": {
"panache": 14,
"cost": 0,
"description": "每当你在一回合内打出五张牌时,对所有敌人造成14点伤害。"
"description": "你每打出5张牌,对所有敌人造成14点非攻击伤害。计数在你的回合开始时清零。"
}
},
{
@@ -693,14 +693,14 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "uncommon",
"cost": 1,
"description": "从“防御”牌中额外获得4点格挡。",
"description": "名称含「防御」的牌使你获得格挡时,额外增加4点格挡。",
"base": {
"defendBonus": 4
},
"upgraded": {
"defendBonus": 6,
"cost": 1,
"description": "从“防御”牌中额外获得6点格挡。"
"description": "名称含「防御」的牌使你获得格挡时,额外增加6点格挡。"
}
},
{
@@ -731,14 +731,14 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "uncommon",
"cost": 1,
"description": "你每抽10张牌,获得1点能量。",
"description": "累计每抽满10张牌,补充1点费用。",
"base": {
"automation": 1
},
"upgraded": {
"automation": 1,
"cost": 0,
"description": "你每抽10张牌,获得1点能量。"
"description": "累计每抽满10张牌,补充1点费用。"
}
},
{
@@ -792,7 +792,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "rare",
"cost": 1,
"description": "造成本场战斗中所打出牌数的伤害。",
"description": "本场战斗中,玩家方每打出1张牌,此牌便造成1点基础伤害。本次打出也计入。",
"base": {
"hits": 1
},
@@ -800,7 +800,7 @@ export const colorlessCards = Object.freeze([
"retain": true,
"hits": 1,
"cost": 1,
"description": "保留。造成本场战斗中所打出牌数的伤害。"
"description": "保留。本场战斗中,玩家方每打出1张牌,此牌便造成1点基础伤害。本次打出也计入。"
}
},
{
@@ -835,7 +835,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "rare",
"cost": 2,
"description": "造成20点伤害。斩杀时,获得20金币。",
"description": "造成20点伤害。若玩家用此牌击杀敌人,获得20金币。",
"base": {
"damage": 20,
"hits": 1,
@@ -846,7 +846,7 @@ export const colorlessCards = Object.freeze([
"hits": 1,
"killGold": 25,
"cost": 2,
"description": "造成25点伤害。斩杀时,获得25金币。"
"description": "造成25点伤害。若玩家用此牌击杀敌人,获得25金币。"
}
},
{
@@ -858,7 +858,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "rare",
"cost": 3,
"description": "造成25点伤害。将3张随机0能量的牌加入你的手牌。",
"description": "造成25点伤害。从基础费用为0的牌中随机生成3张,加入你的手牌。",
"base": {
"damage": 25,
"hits": 1,
@@ -870,7 +870,7 @@ export const colorlessCards = Object.freeze([
"generateZero": 3,
"generatedUpgrade": 1,
"cost": 3,
"description": "造成30点伤害。将3张随机升级过的0能量的牌加入你的手牌。"
"description": "造成30点伤害。从基础费用为0的牌中随机生成3张,能强化的先强化,再加入你的手牌。"
}
},
{
@@ -882,7 +882,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "rare",
"cost": 3,
"description": "造成10点伤害。该敌人在本回合受到的来自其他玩家的伤害变为两倍。",
"description": "造成10点伤害。直到你的下个回合开始,其他友方角色对该敌人造成的伤害翻倍。",
"base": {
"damage": 10,
"hits": 1,
@@ -893,7 +893,7 @@ export const colorlessCards = Object.freeze([
"hits": 1,
"allyDamageMultiplier": 3,
"cost": 3,
"description": "造成14点伤害。该敌人在本回合受到的来自其他玩家的伤害变为三倍。"
"description": "造成14点伤害。直到你的下个回合开始,其他友方角色对该敌人造成的伤害变为3倍。"
}
},
{
@@ -981,7 +981,7 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "rare",
"cost": 1,
"description": "抽牌直到抽满手牌。消耗。",
"description": "抽牌直到手牌数量达到当前上限。消耗。",
"base": {
"exhaust": true
},
@@ -989,7 +989,7 @@ export const colorlessCards = Object.freeze([
"exhaust": true,
"retain": true,
"cost": 1,
"description": "保留。抽牌直到抽满手牌。消耗。"
"description": "保留。抽牌直到手牌数量达到当前上限。消耗。"
}
},
{
@@ -1001,13 +1001,13 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "rare",
"cost": 1,
"description": "获得等同于另一位玩家格挡值的格挡。消耗。",
"description": "选择另一名友方角色,获得等同于其当前格挡值的格挡。消耗。",
"base": {
"exhaust": true
},
"upgraded": {
"cost": 1,
"description": "获得等同于另一位玩家格挡值的格挡。"
"description": "选择另一名友方角色,获得等同于其当前格挡值的格挡。"
}
},
{
@@ -1039,14 +1039,14 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "rare",
"cost": 2,
"description": "所有玩家获得12点格挡。",
"description": "你和每名其他友方角色各获得12点格挡。",
"base": {
"teamBlock": 12
},
"upgraded": {
"teamBlock": 17,
"cost": 2,
"description": "所有玩家获得17点格挡。"
"description": "你和每名其他友方角色各获得17点格挡。"
}
},
{
@@ -1058,14 +1058,14 @@ export const colorlessCards = Object.freeze([
"cardType": "skill",
"rarity": "rare",
"cost": 3,
"description": "打出你弃牌堆中的3张随机攻击牌。",
"description": "从你的弃牌堆随机选择至多3张攻击牌并免费打出。",
"base": {
"autoDiscard": 3
},
"upgraded": {
"autoDiscard": 4,
"cost": 3,
"description": "打出你弃牌堆中的4张随机攻击牌。"
"description": "从你的弃牌堆随机选择至多4张攻击牌并免费打出。"
}
},
{
@@ -1077,11 +1077,11 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "rare",
"cost": 1,
"description": "每回合首次打出攻击或技能牌时,将其置于你的抽牌堆顶端。",
"description": "每回合第一次打出攻击牌或技能牌后,将该牌从弃牌堆放回抽牌堆顶部。",
"base": {},
"upgraded": {
"cost": 0,
"description": "每回合首次打出攻击或技能牌时,将其置于你的抽牌堆顶端。"
"description": "每回合第一次打出攻击牌或技能牌后,将该牌从弃牌堆放回抽牌堆顶部。"
}
},
{
@@ -1093,12 +1093,12 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "rare",
"cost": 1,
"description": "在你的回合开始时,变化你手牌中的1张牌。",
"description": "在你的回合开始时,选择一张可以变化的手牌,将它随机变为另一张牌。",
"base": {},
"upgraded": {
"innate": true,
"cost": 1,
"description": "固有。在你的回合开始时,变化你手牌中的1张牌。"
"description": "固有。在你的回合开始时,选择一张可以变化的手牌,将它随机变为另一张牌。"
}
},
{
@@ -1110,12 +1110,12 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "rare",
"cost": 1,
"description": "每当你在你的回合获得格挡时,其他玩家获得相应一半的格挡。",
"description": "在你的回合内,每当你获得格挡,其他友方角色各获得其一半,向下取整。",
"base": {},
"upgraded": {
"innate": true,
"cost": 1,
"description": "固有。每当你在你的回合获得格挡时,其他玩家获得相应一半的格挡。"
"description": "固有。在你的回合内,每当你获得格挡,其他友方角色各获得其一半,向下取整。"
}
},
{
@@ -1127,11 +1127,11 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "rare",
"cost": 2,
"description": "在你的回合开始时,打出你抽牌堆顶部的牌。",
"description": "你的摸牌阶段结束后,免费打出抽牌堆最上面的一张牌。",
"base": {},
"upgraded": {
"cost": 1,
"description": "在你的回合开始时,打出你抽牌堆顶部的牌。"
"description": "你的摸牌阶段结束后,免费打出抽牌堆最上面的一张牌。"
}
},
{
@@ -1178,14 +1178,14 @@ export const colorlessCards = Object.freeze([
"cardType": "power",
"rarity": "rare",
"cost": 3,
"description": "获得9层覆甲。",
"description": "获得9层覆甲。回合结束时获得等同于层数的格挡,你的回合开始时减少1层。",
"base": {
"plating": 9
},
"upgraded": {
"plating": 12,
"cost": 3,
"description": "获得12层覆甲。"
"description": "获得12层覆甲。回合结束时获得等同于层数的格挡,你的回合开始时减少1层。"
}
},
{
@@ -1197,7 +1197,7 @@ export const colorlessCards = Object.freeze([
"cardType": "attack",
"rarity": "uncommon",
"cost": 1,
"description": "造成10点伤害。将这张牌在本场战斗中的伤害增加15,然后将其交给一名随机盟友。",
"description": "造成10点伤害。此牌在本场战斗中的伤害增加15点。若有可以接收此牌的其他友方角色,将此牌交给随机一名。",
"base": {
"damage": 10,
"hits": 1,
@@ -1208,7 +1208,7 @@ export const colorlessCards = Object.freeze([
"hits": 1,
"ballGrowth": 25,
"cost": 1,
"description": "造成10点伤害。将这张牌在本场战斗中的伤害增加25,然后将其交给一名随机盟友。"
"description": "造成10点伤害。此牌在本场战斗中的伤害增加25点。若有可以接收此牌的其他友方角色,将此牌交给随机一名。"
}
}
]);
+4 -4
View File
@@ -52,7 +52,7 @@ export const curseCards = Object.freeze([
"cardType": "curse",
"rarity": "curse",
"cost": null,
"description": "不能被打出。你在本回合不能打出超过3张牌。",
"description": "不能被打出。此牌在你手中时,若本回合已主动打出3张牌,你不能再主动打牌。",
"base": {
"unplayable": true
}
@@ -66,7 +66,7 @@ export const curseCards = Object.freeze([
"cardType": "curse",
"rarity": "curse",
"cost": null,
"description": "不能被打出。在你的回合结束时,如果这张牌在你的手牌中, 你受到2点伤害。",
"description": "不能被打出。你的弃牌阶段开始时,若此牌仍在手牌中,你受到2点伤害。",
"base": {
"unplayable": true,
"endDamage": 2
@@ -81,7 +81,7 @@ export const curseCards = Object.freeze([
"cardType": "curse",
"rarity": "curse",
"cost": null,
"description": "不能被打出。在你的回合结束时,如果这张牌在你的手牌中,失去相当于手牌数量的生命。",
"description": "不能被打出。你的弃牌阶段开始时,若此牌仍在手牌中,你每持有1张手牌便失去1点生命。",
"base": {
"unplayable": true
}
@@ -126,7 +126,7 @@ export const curseCards = Object.freeze([
"cardType": "curse",
"rarity": "curse",
"cost": null,
"description": "不能被打出。在5场战斗后从你的牌组中移除。",
"description": "不能被打出。带着此牌赢得5场战斗后,它会从永久牌组移除。",
"base": {
"unplayable": true
}
+18 -18
View File
@@ -188,14 +188,14 @@ export const eventCards = Object.freeze([
"cardType": "skill",
"rarity": "event",
"cost": 0,
"description": "在这个回合,你当前手牌中所有牌的耗能降低至1。消耗。",
"description": "本回合,你当前手牌的费用最高为1点。消耗。",
"base": {
"exhaust": true
},
"upgraded": {
"exhaust": true,
"cost": 0,
"description": "在这场战斗,你当前手牌中所有牌的耗能降低至1。消耗。"
"description": "本场战斗中,你当前手牌的费用最高为1点。消耗。"
}
},
{
@@ -207,7 +207,7 @@ export const eventCards = Object.freeze([
"cardType": "skill",
"rarity": "event",
"cost": 1,
"description": "获得8点格挡。获得2点能量。",
"description": "获得8点格挡,再补充2点费用。",
"base": {
"block": 8,
"energy": 2
@@ -217,7 +217,7 @@ export const eventCards = Object.freeze([
"block": 8,
"energy": 2,
"cost": 1,
"description": "固有。获得8点格挡。获得2点能量。"
"description": "固有。获得8点格挡,再补充2点费用。"
}
},
{
@@ -229,7 +229,7 @@ export const eventCards = Object.freeze([
"cardType": "skill",
"rarity": "event",
"cost": 1,
"description": "获得8点格挡。抽3张牌",
"description": "获得8点格挡,再抽3张牌。",
"base": {
"block": 8,
"draw": 3
@@ -239,7 +239,7 @@ export const eventCards = Object.freeze([
"block": 8,
"draw": 3,
"cost": 1,
"description": "固有。获得8点格挡。抽3张牌"
"description": "固有。获得8点格挡,再抽3张牌。"
}
},
{
@@ -337,7 +337,7 @@ export const eventCards = Object.freeze([
"cardType": "power",
"rarity": "event",
"cost": 1,
"description": "能力牌的耗能减少1能量。",
"description": "本场战斗中,你打出能力牌的费用减少1点。",
"base": {
"powerDiscount": 1
},
@@ -345,7 +345,7 @@ export const eventCards = Object.freeze([
"innate": true,
"powerDiscount": 1,
"cost": 1,
"description": "固有。能力牌的耗能减少1能量。"
"description": "固有。本场战斗中,你打出能力牌的费用减少1点。"
}
},
{
@@ -357,7 +357,7 @@ export const eventCards = Object.freeze([
"cardType": "power",
"rarity": "event",
"cost": 1,
"description": "在战斗结束时,升级你牌组中的一张随机牌。",
"description": "赢得本场战斗后,随机强化永久牌组中一张可强化的牌。",
"base": {
"battleUpgrade": 1
},
@@ -365,7 +365,7 @@ export const eventCards = Object.freeze([
"innate": true,
"battleUpgrade": 1,
"cost": 1,
"description": "固有。在战斗结束时,升级你牌组中的一张随机牌。"
"description": "固有。赢得本场战斗后,随机强化永久牌组中一张可强化的牌。"
}
},
{
@@ -468,7 +468,7 @@ export const eventCards = Object.freeze([
"cardType": "skill",
"rarity": "ancient",
"cost": 0,
"description": "获得2点能量。抽2张牌。失去1点最大生命。",
"description": "补充2点费用,抽2张牌。若此时生命已满,先失去1点生命。随后降低1点最大生命。",
"base": {
"draw": 2,
"energy": 2
@@ -477,7 +477,7 @@ export const eventCards = Object.freeze([
"draw": 3,
"energy": 3,
"cost": 0,
"description": "获得3点能量。抽3张牌。失去1点最大生命。"
"description": "补充3点费用,抽3张牌。若此时生命已满,先失去1点生命。随后降低1点最大生命。"
}
},
{
@@ -511,7 +511,7 @@ export const eventCards = Object.freeze([
"cardType": "skill",
"rarity": "ancient",
"cost": 2,
"description": "固有。升级你的全部卡牌。消耗。",
"description": "固有。强化本场战斗中属于你的所有可强化牌。消耗。",
"base": {
"exhaust": true,
"innate": true
@@ -520,7 +520,7 @@ export const eventCards = Object.freeze([
"exhaust": true,
"innate": true,
"cost": 1,
"description": "固有。升级你的全部卡牌。消耗。"
"description": "固有。强化本场战斗中属于你的所有可强化牌。消耗。"
}
},
{
@@ -532,7 +532,7 @@ export const eventCards = Object.freeze([
"cardType": "skill",
"rarity": "ancient",
"cost": 3,
"description": "获得15点格挡。下个回合,抽2张牌并获得2点能量。消耗。",
"description": "获得15点格挡。在你的下个回合开始时,抽2张牌并补充2点费用。消耗。",
"base": {
"exhaust": true,
"block": 15,
@@ -545,7 +545,7 @@ export const eventCards = Object.freeze([
"nextDraw": 3,
"nextEnergy": 3,
"cost": 3,
"description": "获得17点格挡。下个回合,抽3张牌并获得3点能量。消耗。"
"description": "获得17点格挡。在你的下个回合开始时,抽3张牌并补充3点费用。消耗。"
}
},
{
@@ -557,7 +557,7 @@ export const eventCards = Object.freeze([
"cardType": "skill",
"rarity": "ancient",
"cost": 1,
"description": "从3张能力牌中选择1张加入你的手牌。这张牌在本回合可以免费打出。消耗。",
"description": "从随机出现的至多3张能力牌中选一张,加入手牌。本回合可免费打出该牌。消耗。",
"base": {
"exhaust": true
},
@@ -565,7 +565,7 @@ export const eventCards = Object.freeze([
"exhaust": true,
"generatedUpgrade": 1,
"cost": 1,
"description": "从3张升级过的能力牌中选择1张加入你的手牌。这张牌在本回合可以免费打出。消耗。"
"description": "从随机出现的至多3张能力牌中选一张,能强化时将其强化,再加入手牌。本回合可免费打出该牌。消耗。"
}
}
]);
+10 -10
View File
@@ -450,19 +450,19 @@ export function createAdvancedIronclad({game,get,lib,status,getBattle,battleEner
const r=cardUpgradeLevel(card)?spec.upgraded:spec.base,parts=[];
if(r.damage)parts.push(`对${r.all?"所有敌人":"一名敌人"}造成${r.damage+(r.absorbAttack?growthOf(card):0)}点伤害${r.hits?`${r.hits}次`:""}。`);
if(r.nextFreeAttack)parts.push("下一张攻击牌费用变为0。");
if(r.exhaustReplay)parts.push("回合结束时,此牌在消耗牌堆中则免费打出。");
if(r.attackDiscount)parts.push("本回合每打出一张攻击牌,费用减少1。");
if(r.exhaustReplay)parts.push("你的回合结束时,若此牌在你的消耗牌堆中,免费打出它。");
if(r.attackDiscount)parts.push("本回合你每打出1张攻击牌,此牌的费用减少1点。");
if(r.draw)parts.push(`抽${r.draw}张牌。`);
if(r.stopDraw)parts.push("本回合不能再抽牌。");
if(r.generateAttack)parts.push("随机生成一张刘备攻击牌至手牌,本回合费用为0。");
if(r.exhaustEnergy)parts.push(`被消耗时获得${r.exhaustEnergy}费用。`);
if(r.energyPerAttack)parts.push("每张攻击手牌获得1费用。");
if(r.stopEnergy)parts.push("本回合不能再获得费用。");
if(r.exhaustEnergy)parts.push(`当此牌被消耗时,补充${r.exhaustEnergy}点费用。`);
if(r.energyPerAttack)parts.push("结算时,手中每有1张攻击牌便补充1点费用。");
if(r.stopEnergy)parts.push("此后,本回合无法再获得费用。");
if(r.exhaustBlock)parts.push(`每张牌被消耗时获得${r.exhaustBlock}点格挡。`);
if(r.exhaustDraw)parts.push(`每张牌被消耗时抽${r.exhaustDraw}张牌。`);
if(r.vulnerableDraw)parts.push(`每次成功施加易伤抽${r.vulnerableDraw}张牌。`);
if(r.plating)parts.push(`获得${r.plating}层覆甲:回合末获得等量格挡,下个自身回合开始减少1层。`);
if(r.juggle)parts.push("每个自身回合的第三张攻击牌复制一张至手牌。");
if(r.juggle)parts.push("每回合你打出第3张攻击牌时,将它的一张副本加入手牌。");
if(r.innate)parts.push("固有。");
if(r.endAttack)parts.push("回合结束时,随机免费打出一张攻击手牌,目标随机。");
if(r.feed)parts.push(`斩杀敌人时永久增加${r.feed}点最大生命。`);
@@ -471,9 +471,9 @@ export function createAdvancedIronclad({game,get,lib,status,getBattle,battleEner
if(r.topPlays)parts.push(`免费打出抽牌堆顶的X${r.xBonus?"+1":""}张牌。`);
if(r.transformAttacks)parts.push(`所有攻击手牌变为巨石${r.boulderUpgrade?"+":""},仅本场战斗。`);
if(r.doubleTap)parts.push(`本回合接下来的${r.doubleTap}张攻击牌额外打出一次。`);
if(r.stoke)parts.push(`消耗所有手牌,每张随机生成一张${r.generatedUpgrade?"已强化":""}刘备或无色牌至手牌。`);
if(r.retrieveAttack)parts.push("自身回合开始,从弃牌堆随机获得一张攻击牌并强化。");
if(r.bodyguard)parts.push("你承受敌人双倍伤害,敌人对其他友方的伤害减半。");
if(r.stoke)parts.push(`消耗你的全部手牌。每消耗1张,随机获得1张刘备牌或无色牌${r.generatedUpgrade?",能强化的先强化再加入手牌":",加入手牌"}。`);
if(r.retrieveAttack)parts.push("你的回合开始时,从你的弃牌堆随机取回1张攻击牌到手牌,并在本场战斗中强化它。");
if(r.bodyguard)parts.push("敌人对你造成的攻击伤害翻倍,对其他友方角色造成的攻击伤害减半。");
if(r.autoStrike)parts.push("抽到【杀】或名称含“打击”的攻击牌时,免费向随机敌人打出。");
if(r.firstBlock)parts.push("每个自身回合首张获得格挡的卡牌,其获得的格挡翻倍;叠加时增加可翻倍的牌数。");
if(r.blockDamage)parts.push(`每次获得格挡,对随机敌人造成${r.blockDamage}点非攻击伤害。`);
@@ -481,7 +481,7 @@ export function createAdvancedIronclad({game,get,lib,status,getBattle,battleEner
if(r.copies)parts.push(`选择一张攻击或能力手牌,复制${r.copies}张至手牌。`);
if(r.corruption)parts.push("技能牌费用变为0,打出后被消耗。");
if(r.exhaustDiscount)parts.push("本场任意角色每消耗一张牌,费用减少1。");
if(r.partyCopies)parts.push("在所有存活角色的个人弃牌堆加入此牌副本。");
if(r.partyCopies)parts.push("在所有存活角色的弃牌堆中各放入1张此牌的副本,包括敌方角色。");
if(r.grapple)parts.push(`本回合每次获得格挡,对此目标造成${r.grapple}点非攻击伤害。`);
if(r.exhaust)parts.push("消耗。");
if(r.power)parts.push("能力持续本场战斗,打出后退出牌堆。");
+21 -31
View File
@@ -41,17 +41,13 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
: { damage: 8, vulnerable: 2 };
return "梦三:主动使用消耗2费用。对攻击范围内的" +
`一名其他角色造成${effect.damage}点伤害,然后给予其` +
`${effect.vulnerable}层易伤。受到攻击伤害增加50%` +
`${effect.vulnerable}层易伤。易伤使受到的攻击伤害增加50%` +
"(向上取整),每个自身回合结束减少1层。" +
"每回合使用次数不限。";
},
};
translate.mengsan_zhongsha = "重杀";
translate.mengsan_zhongsha_info =
"梦三:主动使用消耗2费用。出牌阶段,对攻击范围内的" +
"一名其他角色造成8点伤害,然后给予其2层易伤。" +
"易伤使受到的攻击伤害增加50%(向上取整)," +
"每个自身回合结束减少1层。每回合使用次数不限。";
translate.mengsan_zhongsha_info = card.mengsan_zhongsha.cardPrompt({ name: "mengsan_zhongsha" });
// STS2 Setup Strike: the new temporary strength does not enhance its own hit.
// STS2 Cinder: damage first, then exhaust one random remaining hand card.
card.mengsan_yujin = {
@@ -274,12 +270,12 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
const block = upgraded ? rule.block : rule.baseBlock;
const damage = upgraded ? rule.damage : rule.baseDamage;
return '梦三:主动使用消耗1费用。获得' + block +
'点格挡(护甲),然后对一名敌方角色造成' + damage +
'点格挡,然后对一名敌方角色造成' + damage +
'点伤害。每回合使用次数不限。';
},
};
translate.mengsan_tiezhanbo = "铁斩波";
translate.mengsan_tiezhanbo_info = "梦三:主动使用消耗1费用。获得5点格挡(护甲)," +
translate.mengsan_tiezhanbo_info = "梦三:主动使用消耗1费用。获得5点格挡," +
"然后对一名敌方角色造成5点伤害。每回合使用次数不限。";
// STS2 Twin Strike: each hit resolves on the same target separately.
card.mengsan_shuangchongdaji = {
@@ -399,8 +395,7 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
},
};
translate.mengsan_feijianhuixuanbiao = "飞剑回旋镖";
translate.mengsan_feijianhuixuanbiao_info = "梦三:主动使用消耗1费用。随机对敌人造成3点伤害3次。" +
"每次攻击重新随机选择存活的敌人,可以重复命中同一敌人。每回合使用次数不限。";
translate.mengsan_feijianhuixuanbiao_info = card.mengsan_feijianhuixuanbiao.cardPrompt({ name: "mengsan_feijianhuixuanbiao" });
// Resolve damage before drawing from the acting player's mode-owned pile.
card.mengsan_jianbingdaji = {
type: "basic", fullimage: true,
@@ -472,13 +467,13 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
},
cardPrompt(used) {
const cost = cardCost(used || { name: "mengsan_quanshenzhuangji" });
return `梦三:主动使用消耗${cost}费用。对一名敌方角色造成等同于你当前格挡(护甲)值的伤害。` +
return `梦三:主动使用消耗${cost}费用。对一名敌方角色造成等同于你当前格挡值的伤害。` +
"不消耗格挡,可以受到力量加成。" +
"每回合使用次数不限。";
},
};
translate.mengsan_quanshenzhuangji = "全身撞击";
translate.mengsan_quanshenzhuangji_info = "梦三:主动使用消耗1费用。对一名敌方角色造成等同于你当前格挡(护甲)值的伤害。" +
translate.mengsan_quanshenzhuangji_info = "梦三:主动使用消耗1费用。对一名敌方角色造成等同于你当前格挡值的伤害。" +
"不消耗格挡,可以受到力量加成。每回合使用次数不限。";
// Double only the surviving target's existing vulnerable after damage resolves.
card.mengsan_rongrongzhiquan = {
@@ -518,8 +513,7 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
},
};
translate.mengsan_rongrongzhiquan = "熔融之拳";
translate.mengsan_rongrongzhiquan_info = "梦三:主动使用消耗1费用。对一名敌方角色造成10点伤害,然后将该目标已有的易伤层数翻倍。" +
"消耗:使用后退出本场战斗。";
translate.mengsan_rongrongzhiquan_info = card.mengsan_rongrongzhiquan.cardPrompt({ name: "mengsan_rongrongzhiquan" });
// STS2【愤怒】:攻击后生成独立的战斗复制品,不扩充永久牌组。
card.mengsan_fennu = {
type: "basic", fullimage: true,
@@ -554,9 +548,7 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
},
};
translate.mengsan_fennu = "愤怒";
translate.mengsan_fennu_info = "梦三:主动使用消耗0费用。对一名敌方角色造成6点伤害," +
"然后将一张此牌的复制品加入你的个人弃牌堆。复制品保留原牌状态和词缀,仅存在于本场战斗。" +
"每回合使用次数不限。";
translate.mengsan_fennu_info = card.mengsan_fennu.cardPrompt({ name: "mengsan_fennu" });
// STS2【放血】:先等待原生生命流失及濒死救援,再增加当前战斗费用。
card.mengsan_fangxue = {
type: "basic", fullimage: true,
@@ -615,13 +607,13 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
const rule = cardUpgradeRule("mengsan_jianyi");
const current = cardUpgradeLevel(used);
const block = current ? rule.block : rule.baseBlock;
return "梦三:主动使用消耗1费用。获得" + block + "点格挡(护甲),然后" +
return "梦三:主动使用消耗1费用。获得" + block + "点格挡,然后" +
(current && rule.chooseExhaust ? "选择消耗" : "随机消耗") +
"一张你的手牌(退出本场战斗,不进入弃牌堆或洗牌)。没有手牌时不消耗牌。";
},
};
translate.mengsan_jianyi = "坚毅";
translate.mengsan_jianyi_info = "梦三:主动使用消耗1费用。获得7点格挡(护甲),然后随机消耗一张你的手牌(退出本场战斗,不进入弃牌堆或洗牌)。没有手牌时不消耗牌。";
translate.mengsan_jianyi_info = "梦三:主动使用消耗1费用。获得7点格挡,然后随机消耗一张你的手牌(退出本场战斗,不进入弃牌堆或洗牌)。没有手牌时不消耗牌。";
// STS2【破灭】:免费使用自己的堆顶原牌,再将这一原牌消耗。
card.mengsan_pomie = {
type: "basic", fullimage: true,
@@ -665,11 +657,11 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
cardPrompt(used) {
const rule = cardUpgradeRule("mengsan_songjianwushi");
const block = cardUpgradeLevel(used) ? rule.block : rule.baseBlock;
return "梦三:主动使用消耗1费用。获得" + block + "点格挡(护甲),然后抽" + rule.draw + "张牌。";
return "梦三:主动使用消耗1费用。获得" + block + "点格挡,然后抽" + rule.draw + "张牌。";
},
};
translate.mengsan_songjianwushi = "耸肩无视";
translate.mengsan_songjianwushi_info = "梦三:主动使用消耗1费用。获得8点格挡(护甲),然后抽1张牌。";
translate.mengsan_songjianwushi_info = "梦三:主动使用消耗1费用。获得8点格挡,然后抽1张牌。";
// STS2【暴走】:先攻击,再仅增加本场这张实体牌的伤害。
card.mengsan_baozou = {
type: "basic", fullimage: true,
@@ -751,8 +743,8 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
cardPrompt(used) {
const rule = cardUpgradeRule("mengsan_xuanfengzhan");
const amount = cardUpgradeLevel(used) ? rule.damage : rule.baseDamage;
return "梦三:X费用。消耗当前剩余费用,对所有敌方角色各造成" + amount +
"点伤害X次,每次分别结算。X为本次用于攻击的费用;缠结时先扣除1点附加费用。X为0时不造成伤害。";
return `消耗当前剩余费用,对所有敌方角色各造成${amount}点伤害,结算X次。` +
"X按本次用于攻击的费用计算。缠结时先扣除1点附加费用。";
},
};
translate.mengsan_xuanfengzhan = "旋风斩";
@@ -816,11 +808,11 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
cardPrompt(used) {
const rule = cardUpgradeRule("mengsan_xueqiang");
const block = cardUpgradeLevel(used) ? rule.block : rule.baseBlock;
return "梦三:主动使用消耗2费用。失去2点生命,然后获得" + block + "点格挡(护甲)。";
return "梦三:主动使用消耗2费用。失去2点生命,然后获得" + block + "点格挡。";
},
};
translate.mengsan_xueqiang = "血墙";
translate.mengsan_xueqiang_info = "梦三:主动使用消耗2费用。失去2点生命,然后获得16点格挡(护甲)。";
translate.mengsan_xueqiang_info = "梦三:主动使用消耗2费用。失去2点生命,然后获得16点格挡。";
// STS2【战栗】:施加易伤走既有人工制品入口,消耗走原生用牌及个人牌堆。
card.mengsan_zhanli = {
type: "basic", fullimage: true,
@@ -876,11 +868,11 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
ai: { order: 8, result: { player: 1 } },
cardPrompt(used) {
const selection = cardUpgradeLevel(used) ? "所有牌" : "一张牌";
return "梦三:主动使用消耗1费用。获得5点格挡(护甲),然后强化你手牌中的" + selection + "(仅本场战斗)。";
return "梦三:主动使用消耗1费用。获得5点格挡,然后强化你手牌中的" + selection + "(仅本场战斗)。";
},
};
translate.mengsan_wuzhuang = "武装";
translate.mengsan_wuzhuang_info = "梦三:主动使用消耗1费用。获得5点格挡(护甲),然后强化你手牌中的一张牌(仅本场战斗)。";
translate.mengsan_wuzhuang_info = "梦三:主动使用消耗1费用。获得5点格挡,然后强化你手牌中的一张牌(仅本场战斗)。";
// 【防御】沿用梦三护甲事件,保留脆弱与伤害抵扣等既有规则。
card.mengsan_fangyu = {
type: "basic",
@@ -899,12 +891,10 @@ export function createLegacyLiuBeiCards({ copyToDiscard, reclaimFromDiscard, tem
await player.changeHujia(cardUpgradeLevel(event.card) ? 8 : 5);
},
ai: { order: 7, result: { target: 1 } },
cardPrompt(used) { return `梦三:主动使用消耗1费用。获得${cardUpgradeLevel(used) ? 8 : 5}点格挡(护甲)。`; },
cardPrompt(used) { return `梦三:主动使用消耗1费用。获得${cardUpgradeLevel(used) ? 8 : 5}点格挡。`; },
};
translate.mengsan_fangyu = "防御";
translate.mengsan_fangyu_info =
"梦三:主动使用消耗1费用。出牌阶段,对自己使用,获得5点格挡(护甲)。" +
"每回合使用次数不限。";
translate.mengsan_fangyu_info = card.mengsan_fangyu.cardPrompt({ name: "mengsan_fangyu" });
// 【桃】的回复量也由梦三牌本体提供;救援仍不消耗费用。
return { cards:card, translate, names:Object.keys(card) };
}
+13 -13
View File
@@ -101,39 +101,39 @@ export function createIroncladRuntime({ game, get, lib, status, getBattle, handE
if (r.block) out.push(`获得${r.block}点格挡。`);
if (r.exhaustTurnBlock) out.push(`本回合消耗过卡牌时,再获得${r.block}点格挡。`);
if (r.doubleBlock) out.push("将当前格挡翻倍。");
if (r.allyBlock) out.push("给予另一名友方角色等于自己当前格挡值的格挡。");
if (r.allyBlock) out.push("令另一名友方角色获得格挡,数值等于你失去生命后的格挡值。");
if (r.chooseExhaust) out.push("消耗一张手牌。");
if (r.exhaustNonAttacks) out.push(`消耗所有非攻击手牌,每张获得${r.blockPerExhaust}点格挡。`);
if (r.hitsPerExhaust) out.push(`消耗所有手牌,每张对一名敌人造成${r.damage}点伤害。`);
if (r.hitsPerExhaust) out.push(`消耗所有手牌。每消耗1张,对同一名敌人造成${r.damage}点伤害。`);
else if (r.damage) {
let text = `${r.all ? "对所有敌人" : "对一名敌人"}造成${r.damage}点伤害`;
if (r.hits) text += `${r.hits}次`;
out.push(text + "。");
}
if (r.minExhaust) out.unshift(`仅当个人消耗牌堆至少${r.minExhaust}张时造成伤害。`);
if (r.vulnerableHits) out.push(`目标已有易伤时,攻击${r.vulnerableHits}次。`);
if (r.hitsPerHpLoss) out.push("本场战斗每次实际失去生命,额外攻击一次。");
if (r.vulnerableHits) out.push(`若目标已有易伤,改为造成${r.vulnerableHits}次上述伤害。`);
if (r.hitsPerHpLoss) out.push("本场战斗中,你每有一次实际失去生命的记录,便多攻击1次。");
if (r.perExhaust) out.push(`每张个人消耗牌额外增加${r.perExhaust}点基础伤害。`);
if (r.drawUntilSkill) out.push("抽牌直到抽到一张非攻击牌。");
if (r.vulnerable) out.push(`给予目标${r.vulnerable}层易伤。`);
if (r.weak) out.push(`给予目标${r.weak}层虚弱。`);
if (r.strengthFromVulnerable) out.push("目标每有一层易伤,获得1点力量。");
if (r.strength) out.push(`获得${r.strength}点力量。`);
if (r.vulnerable) out.push(`给予目标${r.vulnerable}层易伤。`);
if (r.strengthFromVulnerable) out.push("结算易伤后,目标每有1层易伤,你获得1点力量。");
if (r.enemyStrength) out.push(`目标获得${r.enemyStrength}点力量。`);
if (r.strength) out.push(`你获得${r.strength}点力量。`);
if (r.allyStrength) out.push(`给予另一名友方角色${r.allyStrength}点力量。`);
if (r.energy) out.push(`获得${r.energy}费用。`);
if (r.exhaustTurnEnergy) out.push(`本回合消耗过卡牌时,获得${r.exhaustTurnEnergy}费用。`);
if (r.energy) out.push(`补充${r.energy}点费用。`);
if (r.exhaustTurnEnergy) out.push(`若你本回合消耗过牌,补充${r.exhaustTurnEnergy}点费用。`);
if (r.draw) out.push(`抽${r.draw}张牌。`);
if (r.heal) out.push(`回复${r.heal}点生命。`);
if (r.turnStrength) out.push(`每个自身回合开始时获得${r.turnStrength}点力量。`);
if (r.turnEnergy) out.push(`每个自身回合开始时获得${r.turnEnergy}费用。`);
if (r.turnEnergy) out.push(`你的回合开始时,额外补充${r.turnEnergy}点费用。`);
if (r.turnBlock) out.push(`每个自身回合开始时失去${r.turnLoseHp}点生命,再获得${r.turnBlock}点格挡。`);
if (r.attackBlock) out.push(`本次自身回合内,每打出一张攻击牌获得${r.attackBlock}点格挡。`);
if (r.lossStrength) out.push(`在自身回合内每次实际失去生命,获得${r.lossStrength}点力量。`);
if (r.lossDamage) out.push(`自身回合开始时失去${r.infernoLoseHp}点生命;自身回合每次实际失血,对全部敌人造成${r.lossDamage}点非攻击伤害。`);
if (r.retaliation) out.push(`至下个自身回合开始,每受到一次攻击,对攻击者造成${r.retaliation}点伤害。`);
if (r.vulnerableReduction) out.push("至下个自身回合开始,易伤敌人对你的攻击伤害降低50%。");
if (r.vulnerableBonus) out.push(`你攻击易伤敌人的易伤伤害倍率额外增加${r.vulnerableBonus * 100}%。`);
if (r.retaliation) out.push(`直到你的下个回合开始,每次受到攻击伤害,便对攻击者造成${r.retaliation}点非攻击伤害。`);
if (r.vulnerableReduction) out.push("直到你的下个回合开始,带有易伤的角色对你造成的攻击伤害减半,向下取整。");
if (r.vulnerableBonus) out.push(`你攻击易伤敌人时,该次伤害的易伤倍率增加${r.vulnerableBonus * 100}个百分点。`);
if (r.exhaust) out.push("消耗。");
if (r.power) out.push("能力持续本场战斗,打出后退出牌堆。");
return `梦三:主动使用消耗${cardCost(card || { name: spec.name })}费用。` + out.join("");
+4 -1
View File
@@ -515,7 +515,10 @@ export function createSharedCardRuntime({game,get,lib,status,getBattle,battleEne
cardPrompt(card){const r=rule(card||{name:spec.name});let description=r?.description||spec.description;
if(spec.id==="the_ball"){const s=stateOf(game.me);if(s)description=description.replace("造成10点伤害",`造成${10+ballBonus(s,card)}点伤害`);}
if(spec.id==="wither")description=description.replace("受到3点伤害",`受到${witherDamage(card)}点伤害`);
return `梦三:${spec.cost==null?"不能被打出":`${spec.cost==="X"?"X":cardCost(card||{name:spec.name})}费`}。${description}`;},
if (spec.cost == null) return description;
const cost = spec.cost === "X" ? "X" : cardCost(card || { name: spec.name });
return `梦三:${cost}费。${description}`;
},
ai:{order:spec.cardType==="power"?7:6,value:spec.cardType==="curse"?0:5,useful:spec.cardType==="curse"?0:5,
result:{target:enemy?-1:1},tag:spec.cardType==="attack"?{damage:1}:{}},
};
+3 -3
View File
@@ -67,7 +67,7 @@ export const statusCards = Object.freeze([
"cardType": "status",
"rarity": "status",
"cost": null,
"description": "不能被打出。在你的回合结束时,如果这张牌在你的手牌中,你受到3点伤害。",
"description": "不能被打出。你的弃牌阶段开始时,若此牌仍在手牌中,你受到3点伤害。",
"base": {
"unplayable": true,
"endDamage": 3
@@ -82,7 +82,7 @@ export const statusCards = Object.freeze([
"cardType": "status",
"rarity": "status",
"cost": null,
"description": "不能被打出。在你的回合结束时,如果这张牌在你的手牌中,你受到3点伤害。",
"description": "不能被打出。你的弃牌阶段开始时,若此牌仍在手牌中,你受到3点非攻击伤害。",
"base": {
"unplayable": true,
"endDamage": 3
@@ -125,7 +125,7 @@ export const statusCards = Object.freeze([
"cardType": "status",
"rarity": "status",
"cost": null,
"description": "不能被打出。虚无。每当你抽到这张牌时,失去1点能量。",
"description": "不能被打出。虚无。抽到此牌时,扣除1点费用。",
"base": {
"ethereal": true,
"unplayable": true