1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-07-30 19:40:48 +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-168",
id: `${set.code}-${localId}`,
localId: 168,
// Card informations
name: {
en: "Lum Berry",
@ -19,18 +24,16 @@ const card: Card = {
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/168/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/168/low",
}
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/168/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/168/low",
},
},
evolveFrom: {},
tags: [
Tag.TOOL,
@ -40,28 +43,19 @@ const card: Card = {
attacks: [{
name: {},
text: {
en: "At the end of each turn, if the Pokémon this card is attached to is affected by any Special Conditions, it recovers from all of them, and discard this card.",
fr: "À la fin de chaque tour, si le Pokémon auquel cette carte est attachée est affecté par au moins un État Spécial, il guérit de tous ces États Spéciaux. Ensuite, défaussez cette carte.",
},
}],
effect: {
en: "At the end of each turn, if the Pokémon this card is attached to is affected by any Special Conditions, it recovers from all of them, and discard this card.",
},
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