1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-06-22 03:49:19 +00:00

Updated Sword & Shield Database

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-04-30 01:13:19 +02:00
parent 3bcdf591ca
commit 4161262f70
47 changed files with 1634 additions and 1093 deletions

View File

@ -4,13 +4,18 @@ 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 set from '../../../sets/swsh/swsh1'
const localId = path.basename(__filename).split(".")[0]
const card: Card = {
// ids
id: "swsh1-199",
id: `${set.code}-${localId}`,
localId: 199,
// Card informations
name: {
en: "Bede",
@ -19,18 +24,16 @@ const card: Card = {
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/199/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/199/low",
}
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/199/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/199/low",
},
},
evolveFrom: {},
tags: [
Tag.SUPPORTER,
@ -40,28 +43,19 @@ const card: Card = {
attacks: [{
name: {},
text: {
en: "Attach a basic Energy card from your hand to 1 of your Benched Pokémon.",
fr: "Attachez une carte Énergie de base de votre main à lun de vos Pokémon de Banc.",
},
}],
effect: {
en: "Attach a basic Energy card from your hand to 1 of your Benched Pokémon.",
},
rarity: Rarity.RareUltra,
category: Category.TRAINER,
rarity: Rarity.RareUltra,
category: Category.TRAINER,
set: {
name: "Sword & Shield",
code: "swsh1"
}
set,
}
export default card
export default card