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-179",
id: `${set.code}-${localId}`,
localId: 179,
// Card informations
name: {
en: "Quick Ball",
@ -19,18 +24,16 @@ const card: Card = {
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/179/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/179/low",
}
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/179/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/179/low",
},
},
evolveFrom: {},
tags: [
Tag.ITEM,
@ -40,28 +43,19 @@ const card: Card = {
attacks: [{
name: {},
text: {
en: "You can play this card only if you discard another card from your hand.\n\nSearch your deck for a Basic Pokémon, reveal it, and put it into your hand. Then, shuffle your deck.",
fr: "Vous ne pouvez jouer cette carte que si vous défaussez une autre carte de votre main.\n\nCherchez dans votre deck un Pokémon de base, montrez-le, puis ajoutez-le à votre main. Mélangez ensuite votre deck.",
},
}],
effect: {
en: "You can play this card only if you discard another card from your hand.\n\nSearch your deck for a Basic Pokémon, reveal it, and put it into your hand. Then, shuffle your deck.",
},
rarity: Rarity.Uncommon,
category: Category.TRAINER,
rarity: Rarity.Uncommon,
category: Category.TRAINER,
set: {
name: "Sword & Shield",
code: "swsh1"
}
set,
}
export default card
export default card