mirror of
https://github.com/tcgdex/cards-database.git
synced 2025-06-21 19:39:18 +00:00
Updated Sword & Shield Database
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -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-171",
|
||||
id: `${set.code}-${localId}`,
|
||||
localId: 171,
|
||||
|
||||
|
||||
// Card informations
|
||||
name: {
|
||||
en: "Ordinary Rod",
|
||||
@ -19,18 +24,16 @@ const card: Card = {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
image: {
|
||||
low: {
|
||||
en: "https://assets.tcgdex.net/en/swsh/swsh1/171/low",
|
||||
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/171/low",
|
||||
}
|
||||
low: {
|
||||
en: "https://assets.tcgdex.net/en/swsh/swsh1/171/low",
|
||||
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/171/low",
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
|
||||
evolveFrom: {},
|
||||
|
||||
|
||||
tags: [
|
||||
Tag.ITEM,
|
||||
@ -40,28 +43,19 @@ const card: Card = {
|
||||
|
||||
|
||||
|
||||
attacks: [{
|
||||
name: {},
|
||||
text: {
|
||||
en: "Choose 1 or both:\n\n• Shuffle up to 2 Pokémon from your discard pile into your deck.\n\n• Shuffle up to 2 basic Energy cards from your discard pile into your deck.",
|
||||
fr: "Choisissez l’une de ces options ou les deux :\n\n• Mélangez avec votre deck jusqu’à 2 Pokémon de votre pile de défausse.\n\n• Mélangez avec votre deck jusqu’à 2 cartes Énergie de base de votre pile de défausse.",
|
||||
},
|
||||
}],
|
||||
effect: {
|
||||
en: "Choose 1 or both:\n\n• Shuffle up to 2 Pokémon from your discard pile into your deck.\n\n• Shuffle up to 2 basic Energy cards from your discard pile into 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
|
Reference in New Issue
Block a user