1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-21 19:39:18 +00:00

Added most of Swsh2 cards

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-05-04 20:25:45 +02:00
parent 6a58422ae6
commit d76dfbac94
184 changed files with 15705 additions and 89 deletions

View File

@ -4,87 +4,99 @@ import Tag from '@tcgdex/sdk/interfaces/Tag'
import Rarity from '@tcgdex/sdk/interfaces/Rarity'
import AbilityType from '@tcgdex/sdk/interfaces/AbilityType'
import Category from '@tcgdex/sdk/interfaces/Category'
import path from 'path'
import swsh2 from '../../../sets/swsh/swsh2'
import set from '../../../sets/swsh/swsh2'
const localId = path.basename(__filename).split(".")[0]
const card: Card = {
// Card Global Informations
id: "swsh2-139",
// ids
id: `swsh2-${localId}`,
localId: isNaN(parseInt(localId)) ? localId : parseInt(localId),
localId: 139,
dexId: 888,
// Card informations
name: {
en: "Zacian",
fr: "Zacian",
},
tags: [
Tag.BASIC,
],
illustrator: "Hideki Ishikawa",
rarity: Rarity.RARE,
category: Category.POKEMON,
set,
// Card Pokémon Informations
attacks: [
{
name: {
en: "Energy Stream"
},
text: {
en: "Attach a Metal Energy card from your discard pile to this Pokémon."
},
damage: 30,
cost: [
Type.METAL,
Type.COLORLESS
]
Type.COLORLESS,
],
name: {
en: "Energy Stream",
},
text: {
en: "Attach a Metal Energy card from your discard pile to this Pokémon.",
},
damage: 30,
},
{
name: {
en: "Smashing Edge"
},
text: {
en: "Flip a coin. If tails, discard 2 Energy from this Pokémon."
},
damage: 120,
cost: [
Type.METAL,
Type.METAL,
Type.COLORLESS,
],
Type.METAL,
Type.METAL,
Type.COLORLESS
]
}
name: {
en: "Smashing Edge",
},
text: {
en: "Flip a coin. If tails, discard 2 Energy from this Pokémon.",
},
damage: 120,
},
],
weaknesses: [
{
type: Type.FIRE,
value: "x2"
}
type: Type.FIRE,
value: "×2",
},
],
resistances: [
{
type: Type.GRASS,
value: "-30"
},
],
type: Type.GRASS,
type: [
Type.METAL
value: "-30",
},
],
retreat: 2,
illustrator: "Hideki Ishikawa",
rarity: Rarity.RARE,
// Card Trainer/Energy informations
category: Category.POKEMON,
set: swsh2
}
export default card
export default card