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-186",
id: `${set.code}-${localId}`,
localId: 186,
// Card informations
name: {
en: "Aurora Energy",
@ -19,18 +24,16 @@ const card: Card = {
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/186/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/186/low",
}
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/186/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/186/low",
},
},
evolveFrom: {},
tags: [
Tag.SPECIAL,
@ -39,29 +42,19 @@ const card: Card = {
attacks: [{
name: {},
text: {
en: "You can attach this card to 1 of your Pokémon only if you discard another card from your hand.\n\nAs long as this card is attached to a Pokémon, it provides every type of Energy but provides only 1 Energy at a time.",
fr: "Vous ne pouvez attacher cette carte à lun de vos Pokémon que si vous défaussez une autre carte de votre main.\n\nTant que cette carte est attachée à un Pokémon, elle fournit tout type dÉnergie mais seulement une Énergie à la fois.",
},
}],
effect: {
en: "You can attach this card to 1 of your Pokémon only if you discard another card from your hand.\n\nAs long as this card is attached to a Pokémon, it provides every type of Energy but provides only 1 Energy at a time.",
},
rarity: Rarity.Uncommon,
category: Category.ENERGY,
rarity: Rarity.Uncommon,
category: Category.ENERGY,
set: {
name: "Sword & Shield",
code: "swsh1"
}
set,
}
export default card
export default card