From 4161262f708e59385889ffe8c672e5ef52a3dee6 Mon Sep 17 00:00:00 2001 From: Avior Date: Thu, 30 Apr 2020 01:13:19 +0200 Subject: [PATCH] Updated Sword & Shield Database Signed-off-by: Avior --- cards/swsh/swsh1/116.ts | 5 -- cards/swsh/swsh1/142.ts | 80 ++++++++++++++------------- cards/swsh/swsh1/156.ts | 48 ++++++++--------- cards/swsh/swsh1/157.ts | 48 ++++++++--------- cards/swsh/swsh1/158.ts | 48 ++++++++--------- cards/swsh/swsh1/159.ts | 48 ++++++++--------- cards/swsh/swsh1/160.ts | 48 ++++++++--------- cards/swsh/swsh1/161.ts | 48 ++++++++--------- cards/swsh/swsh1/162.ts | 48 ++++++++--------- cards/swsh/swsh1/163.ts | 48 ++++++++--------- cards/swsh/swsh1/164.ts | 48 ++++++++--------- cards/swsh/swsh1/165.ts | 48 ++++++++--------- cards/swsh/swsh1/166.ts | 48 ++++++++--------- cards/swsh/swsh1/167.ts | 48 ++++++++--------- cards/swsh/swsh1/168.ts | 48 ++++++++--------- cards/swsh/swsh1/169.ts | 48 ++++++++--------- cards/swsh/swsh1/170.ts | 48 ++++++++--------- cards/swsh/swsh1/171.ts | 48 ++++++++--------- cards/swsh/swsh1/172.ts | 48 ++++++++--------- cards/swsh/swsh1/173.ts | 48 ++++++++--------- cards/swsh/swsh1/174.ts | 48 ++++++++--------- cards/swsh/swsh1/175.ts | 48 ++++++++--------- cards/swsh/swsh1/176.ts | 48 ++++++++--------- cards/swsh/swsh1/177.ts | 48 ++++++++--------- cards/swsh/swsh1/178.ts | 48 ++++++++--------- cards/swsh/swsh1/179.ts | 48 ++++++++--------- cards/swsh/swsh1/180.ts | 48 ++++++++--------- cards/swsh/swsh1/181.ts | 48 ++++++++--------- cards/swsh/swsh1/182.ts | 48 ++++++++--------- cards/swsh/swsh1/183.ts | 48 ++++++++--------- cards/swsh/swsh1/184.ts | 48 ++++++++--------- cards/swsh/swsh1/185.ts | 48 ++++++++--------- cards/swsh/swsh1/186.ts | 49 ++++++++--------- cards/swsh/swsh1/199.ts | 48 ++++++++--------- cards/swsh/swsh1/200.ts | 48 ++++++++--------- cards/swsh/swsh1/201.ts | 48 ++++++++--------- cards/swsh/swsh1/202.ts | 48 ++++++++--------- cards/swsh/swsh1/50.ts | 79 ++++++++++++++------------- cards/swsh/swsh1/80.ts | 80 ++++++++++++++------------- cards/swsh/swsh2/118.ts | 108 +++++++++++++++++++++++++++++++++++++ cards/swsh/swsh2/154.ts | 65 ++++++++++++++++++++++ cards/swsh/swsh2/18.ts | 110 +++++++++++++++++++++++++++++++++++++ cards/swsh/swsh2/19.ts | 104 +++++++++++++++++++++++++++++++++++ cards/swsh/swsh2/36.ts | 110 +++++++++++++++++++++++++++++++++++++ cards/swsh/swsh2/50.ts | 96 +++++++++++++++++++++------------ cards/swsh/swsh2/71.ts | 93 ++++++++++++++++++++++++++++++++ cards/swsh/swsh2/93.ts | 116 ++++++++++++++++++++++++++++++++++++++++ 47 files changed, 1634 insertions(+), 1093 deletions(-) create mode 100644 cards/swsh/swsh2/118.ts create mode 100644 cards/swsh/swsh2/154.ts create mode 100644 cards/swsh/swsh2/18.ts create mode 100644 cards/swsh/swsh2/19.ts create mode 100644 cards/swsh/swsh2/36.ts create mode 100644 cards/swsh/swsh2/71.ts create mode 100644 cards/swsh/swsh2/93.ts diff --git a/cards/swsh/swsh1/116.ts b/cards/swsh/swsh1/116.ts index acc0d6167..f9e8b1841 100644 --- a/cards/swsh/swsh1/116.ts +++ b/cards/swsh/swsh1/116.ts @@ -46,11 +46,6 @@ const card: Card = { attacks: [{ - name: { - en: "VMAX rule", - fr: "Règle VMAX", - }, - },{ cost: [ Type.FIGHTING ], diff --git a/cards/swsh/swsh1/142.ts b/cards/swsh/swsh1/142.ts index ace05cad9..7bd036142 100644 --- a/cards/swsh/swsh1/142.ts +++ b/cards/swsh/swsh1/142.ts @@ -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-142", + id: `${set.code}-${localId}`, localId: 142, + // Card informations name: { en: "Snorlax VMAX", @@ -23,13 +28,13 @@ const card: Card = { Type.COLORLESS, ], - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/142/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/142/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/142/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/142/low", + }, + + }, evolveFrom: { @@ -37,6 +42,7 @@ const card: Card = { fr: "Ronflex-V", }, + tags: [ Tag.VMAX, ], @@ -44,34 +50,38 @@ const card: Card = { illustrator: "aky CG Works", + attacks: [ + { + cost: [ + Type.COLORLESS, + Type.COLORLESS, + Type.COLORLESS, + ], - attacks: [{ - name: { - en: "VMAX rule", - fr: "Règle VMAX", - }, - },{ - cost: [ - Type.COLORLESS, - Type.COLORLESS, - Type.COLORLESS - ], - name: { - en: "G-Max Fall", - fr: "Chute G-Max", - }, - text: { - en: "This attack does 30 more damage for each of your Benched Pokémon.", - fr: "Cette attaque inflige 30 dégâts supplémentaires pour chacun de vos Pokémon de Banc.", - }, - damage: "60+" - }], + name: { + en: "G-Max Fall", + fr: "Chute G-Max", + }, - weaknesses: [{ - type: Type.FIGHTING, - value: "×2" - }], + text: { + en: "This attack does 30 more damage for each of your Benched Pokémon.", + fr: "Cette attaque inflige 30 dégâts supplémentaires pour chacun de vos Pokémon de Banc.", + }, + damage: "60+", + + }, + ], + + + weaknesses: [ + { + type: Type.FIGHTING, + + value: "×2", + + }, + ], retreat: 4, @@ -80,10 +90,8 @@ const card: Card = { category: Category.POKEMON, - set: { - name: "Sword & Shield", - code: "swsh1" - } + + set, } export default card diff --git a/cards/swsh/swsh1/156.ts b/cards/swsh/swsh1/156.ts index 3c90ffebb..e6083d665 100644 --- a/cards/swsh/swsh1/156.ts +++ b/cards/swsh/swsh1/156.ts @@ -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-156", + id: `${set.code}-${localId}`, localId: 156, + // Card informations name: { en: "Air Balloon", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/156/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/156/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/156/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/156/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.TOOL, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "The Retreat Cost of the Pokémon this card is attached to is ColorlessColorless less.", - fr: "Le Coût de Retraite du Pokémon auquel cette carte est attachée est diminué de ColorlessColorless.", - }, - }], + effect: { + en: "The Retreat Cost of the Pokémon this card is attached to is ColorlessColorless less.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/157.ts b/cards/swsh/swsh1/157.ts index 9a4d78966..f9f69c409 100644 --- a/cards/swsh/swsh1/157.ts +++ b/cards/swsh/swsh1/157.ts @@ -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-157", + id: `${set.code}-${localId}`, localId: 157, + // Card informations name: { en: "Bede", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/157/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/157/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/157/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/157/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 à l’un 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.Uncommon, + + category: Category.TRAINER, - - rarity: Rarity.Uncommon, - - category: Category.TRAINER, - - set: { - name: "Sword & Shield", - code: "swsh1" - } + set, } -export default card +export default card \ No newline at end of file diff --git a/cards/swsh/swsh1/158.ts b/cards/swsh/swsh1/158.ts index e3b1e3ff0..36a47c494 100644 --- a/cards/swsh/swsh1/158.ts +++ b/cards/swsh/swsh1/158.ts @@ -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-158", + id: `${set.code}-${localId}`, localId: 158, + // Card informations name: { en: "Big Charm", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/158/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/158/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/158/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/158/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.TOOL, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "The Pokémon this card is attached to gets +30 HP.", - fr: "Cette carte ajoute 30 PV au Pokémon auquel elle est attachée.", - }, - }], + effect: { + en: "The Pokémon this card is attached to gets +30 HP.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/159.ts b/cards/swsh/swsh1/159.ts index 604be7787..f3b8ba7c2 100644 --- a/cards/swsh/swsh1/159.ts +++ b/cards/swsh/swsh1/159.ts @@ -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-159", + id: `${set.code}-${localId}`, localId: 159, + // Card informations name: { en: "Crushing Hammer", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/159/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/159/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/159/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/159/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Flip a coin. If heads, discard an Energy from 1 of your opponent's Pokémon.", - fr: "Lancez une pièce. Si c’est face, défaussez une Énergie de l’un des Pokémon de votre adversaire.", - }, - }], + effect: { + en: "Flip a coin. If heads, discard an Energy from 1 of your opponent's Pokémon.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/160.ts b/cards/swsh/swsh1/160.ts index cc205ffb7..a70aa42a8 100644 --- a/cards/swsh/swsh1/160.ts +++ b/cards/swsh/swsh1/160.ts @@ -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-160", + id: `${set.code}-${localId}`, localId: 160, + // Card informations name: { en: "Energy Retrieval", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/160/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/160/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/160/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/160/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Put up to 2 basic Energy cards from your discard pile into your hand.", - fr: "Ajoutez à votre main jusqu’à 2 cartes Énergie de base de votre pile de défausse.", - }, - }], + effect: { + en: "Put up to 2 basic Energy cards from your discard pile into your hand.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/161.ts b/cards/swsh/swsh1/161.ts index 09023e9bc..b8503e2f0 100644 --- a/cards/swsh/swsh1/161.ts +++ b/cards/swsh/swsh1/161.ts @@ -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-161", + id: `${set.code}-${localId}`, localId: 161, + // Card informations name: { en: "Energy Search", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/161/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/161/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/161/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/161/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Search your deck for a basic Energy card, reveal it, and put it into your hand. Then, shuffle your deck.", - fr: "Cherchez dans votre deck une carte Énergie de base, montrez-la, puis ajoutez-la à votre main. Mélangez ensuite votre deck.", - }, - }], + effect: { + en: "Search your deck for a basic Energy card, 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/162.ts b/cards/swsh/swsh1/162.ts index 4b7401658..6e0ab1830 100644 --- a/cards/swsh/swsh1/162.ts +++ b/cards/swsh/swsh1/162.ts @@ -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-162", + id: `${set.code}-${localId}`, localId: 162, + // Card informations name: { en: "Energy Switch", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/162/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/162/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/162/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/162/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Move a basic Energy from 1 of your Pokémon to another of your Pokémon.", - fr: "Déplacez une Énergie de base de l’un de vos Pokémon vers un autre de vos Pokémon.", - }, - }], + effect: { + en: "Move a basic Energy from 1 of your Pokémon to another of your Pokémon.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/163.ts b/cards/swsh/swsh1/163.ts index c8f47ea2f..28fab75cc 100644 --- a/cards/swsh/swsh1/163.ts +++ b/cards/swsh/swsh1/163.ts @@ -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-163", + id: `${set.code}-${localId}`, localId: 163, + // Card informations name: { en: "Evolution Incense", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/163/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/163/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/163/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/163/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Search your deck for an Evolution Pokémon, reveal it, and put it into your hand. Then, shuffle your deck.", - fr: "Cherchez dans votre deck un Pokémon Évolutif, montrez-le, puis ajoutez-le à votre main. Mélangez ensuite votre deck.", - }, - }], + effect: { + en: "Search your deck for an Evolution 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/164.ts b/cards/swsh/swsh1/164.ts index f2b898da8..b91a8cc0a 100644 --- a/cards/swsh/swsh1/164.ts +++ b/cards/swsh/swsh1/164.ts @@ -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-164", + id: `${set.code}-${localId}`, localId: 164, + // Card informations name: { en: "Great Ball", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/164/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/164/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/164/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/164/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Look at the top 7 cards of your deck. You may reveal a Pokémon you find there and put it into your hand. Shuffle the other cards back into your deck.", - fr: "Regardez les 7 cartes du dessus de votre deck. Vous pouvez montrer un Pokémon que vous y trouvez, puis l’ajouter à votre main. Mélangez les autres cartes avec votre deck.", - }, - }], + effect: { + en: "Look at the top 7 cards of your deck. You may reveal a Pokémon you find there and put it into your hand. Shuffle the other cards back 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/165.ts b/cards/swsh/swsh1/165.ts index ae6d79a34..3bbd34f9e 100644 --- a/cards/swsh/swsh1/165.ts +++ b/cards/swsh/swsh1/165.ts @@ -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-165", + id: `${set.code}-${localId}`, localId: 165, + // Card informations name: { en: "Hop", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/165/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/165/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/165/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/165/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Draw 3 cards.", - fr: "Piochez 3 cartes.", - }, - }], + effect: { + en: "Draw 3 cards.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/166.ts b/cards/swsh/swsh1/166.ts index d242de3f0..94783b43b 100644 --- a/cards/swsh/swsh1/166.ts +++ b/cards/swsh/swsh1/166.ts @@ -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-166", + id: `${set.code}-${localId}`, localId: 166, + // Card informations name: { en: "Hyper Potion", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/166/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/166/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/166/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/166/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Heal 120 damage from 1 of your Pokémon that has at least 2 Energy attached. If you healed any damage in this way, discard 2 Energy from it.", - fr: "Soignez 120 dégâts de l’un de vos Pokémon auquel sont attachées au moins 2 Énergies. Si des dégâts sont ainsi soignés, défaussez 2 Énergies de ce Pokémon.", - }, - }], + effect: { + en: "Heal 120 damage from 1 of your Pokémon that has at least 2 Energy attached. If you healed any damage in this way, discard 2 Energy from it.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/167.ts b/cards/swsh/swsh1/167.ts index e4b368bc4..914e5bc5d 100644 --- a/cards/swsh/swsh1/167.ts +++ b/cards/swsh/swsh1/167.ts @@ -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-167", + id: `${set.code}-${localId}`, localId: 167, + // Card informations name: { en: "Lucky Egg", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/167/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/167/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/167/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/167/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.TOOL, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "If the Pokémon this card is attached to is Knocked Out by damage from an opponent’s attack, draw cards until you have 7 cards in your hand.", - fr: "Si le Pokémon auquel cette carte est attachée est mis K.O. par les dégâts d’une attaque de l’adversaire, piochez des cartes jusqu’à en avoir 7 en main.", - }, - }], + effect: { + en: "If the Pokémon this card is attached to is Knocked Out by damage from an opponent’s attack, draw cards until you have 7 cards in your hand.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/168.ts b/cards/swsh/swsh1/168.ts index f24fb9410..a7a426472 100644 --- a/cards/swsh/swsh1/168.ts +++ b/cards/swsh/swsh1/168.ts @@ -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 \ No newline at end of file diff --git a/cards/swsh/swsh1/169.ts b/cards/swsh/swsh1/169.ts index 1d2d37792..259d7492c 100644 --- a/cards/swsh/swsh1/169.ts +++ b/cards/swsh/swsh1/169.ts @@ -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-169", + id: `${set.code}-${localId}`, localId: 169, + // Card informations name: { en: "Marnie", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/169/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/169/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/169/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/169/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Each player shuffles their hand and puts it on the bottom of their deck. If either player put any cards on the bottom of their deck in this way, you draw 5 cards, and your opponent draws 4 cards.", - fr: "Chaque joueur mélange sa main, puis la place en dessous de son deck. Si l’un des joueurs place ainsi au moins une carte en dessous de son deck, vous piochez 5 cartes et votre adversaire en pioche 4.", - }, - }], + effect: { + en: "Each player shuffles their hand and puts it on the bottom of their deck. If either player put any cards on the bottom of their deck in this way, you draw 5 cards, and your opponent draws 4 cards.", + }, + rarity: Rarity.RareHolo, + + category: Category.TRAINER, - - rarity: Rarity.RareHolo, - - category: Category.TRAINER, - - set: { - name: "Sword & Shield", - code: "swsh1" - } + set, } -export default card +export default card \ No newline at end of file diff --git a/cards/swsh/swsh1/170.ts b/cards/swsh/swsh1/170.ts index fa7255165..98164e437 100644 --- a/cards/swsh/swsh1/170.ts +++ b/cards/swsh/swsh1/170.ts @@ -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-170", + id: `${set.code}-${localId}`, localId: 170, + // Card informations name: { en: "Metal Saucer", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/170/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/170/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/170/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/170/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Attach a Metal Energy card from your discard pile to 1 of your Benched Metal Pokémon.", - fr: "Attachez une carte Énergie Metal de votre pile de défausse à l’un de vos Pokémon Metal de Banc.", - }, - }], + effect: { + en: "Attach a Metal Energy card from your discard pile to 1 of your Benched Metal Pokémon.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/171.ts b/cards/swsh/swsh1/171.ts index 9eb463d67..be1f49f88 100644 --- a/cards/swsh/swsh1/171.ts +++ b/cards/swsh/swsh1/171.ts @@ -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 \ No newline at end of file diff --git a/cards/swsh/swsh1/172.ts b/cards/swsh/swsh1/172.ts index efdb6c70d..01af3bd41 100644 --- a/cards/swsh/swsh1/172.ts +++ b/cards/swsh/swsh1/172.ts @@ -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-172", + id: `${set.code}-${localId}`, localId: 172, + // Card informations name: { en: "Pal Pad", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/172/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/172/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/172/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/172/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Shuffle up to 2 Supporter cards from your discard pile into your deck.", - fr: "Mélangez avec votre deck jusqu’à 2 cartes Supporter de votre pile de défausse.", - }, - }], + effect: { + en: "Shuffle up to 2 Supporter 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/173.ts b/cards/swsh/swsh1/173.ts index 9219b3c31..c2b8e0548 100644 --- a/cards/swsh/swsh1/173.ts +++ b/cards/swsh/swsh1/173.ts @@ -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-173", + id: `${set.code}-${localId}`, localId: 173, + // Card informations name: { en: "Poké Kid", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/173/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/173/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/173/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/173/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Search your deck for a Pokémon, reveal it, and put it into your hand. Then, shuffle your deck.", - fr: "Cherchez dans votre deck un Pokémon, montrez-le, puis ajoutez-le à votre main. Mélangez ensuite votre deck.", - }, - }], + effect: { + en: "Search your deck for a 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/174.ts b/cards/swsh/swsh1/174.ts index 8182b39f2..27e853255 100644 --- a/cards/swsh/swsh1/174.ts +++ b/cards/swsh/swsh1/174.ts @@ -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-174", + id: `${set.code}-${localId}`, localId: 174, + // Card informations name: { en: "Pokégear 3.0", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/174/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/174/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/174/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/174/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Look at the top 7 cards of your deck. You may reveal a Supporter card you find there and put it into your hand. Shuffle the other cards back into your deck.", - fr: "Regardez les 7 cartes du dessus de votre deck. Vous pouvez montrer une carte Supporter que vous y trouvez, puis l’ajouter à votre main. Mélangez les autres cartes avec votre deck.", - }, - }], + effect: { + en: "Look at the top 7 cards of your deck. You may reveal a Supporter card you find there and put it into your hand. Shuffle the other cards back 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/175.ts b/cards/swsh/swsh1/175.ts index 1553885a5..c407a0981 100644 --- a/cards/swsh/swsh1/175.ts +++ b/cards/swsh/swsh1/175.ts @@ -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-175", + id: `${set.code}-${localId}`, localId: 175, + // Card informations name: { en: "Pokémon Catcher", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/175/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/175/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/175/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/175/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Flip a coin. If heads, switch 1 of your opponent’s Benched Pokémon with their Active Pokémon.", - fr: "Lancez une pièce. Si c’est face, échangez l’un des Pokémon de Banc de votre adversaire contre son Pokémon Actif.", - }, - }], + effect: { + en: "Flip a coin. If heads, switch 1 of your opponent’s Benched Pokémon with their Active Pokémon.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/176.ts b/cards/swsh/swsh1/176.ts index c2bf34ed6..eb0ac10bf 100644 --- a/cards/swsh/swsh1/176.ts +++ b/cards/swsh/swsh1/176.ts @@ -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-176", + id: `${set.code}-${localId}`, localId: 176, + // Card informations name: { en: "Pokémon Center Lady", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/176/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/176/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/176/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/176/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Heal 60 damage from 1 of your Pokémon, and it recovers from all Special Conditions.", - fr: "Soignez 60 dégâts de l’un de vos Pokémon, et il guérit de tous les États Spéciaux.", - }, - }], + effect: { + en: "Heal 60 damage from 1 of your Pokémon, and it recovers from all Special Conditions.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/177.ts b/cards/swsh/swsh1/177.ts index b7ae46432..b1589891a 100644 --- a/cards/swsh/swsh1/177.ts +++ b/cards/swsh/swsh1/177.ts @@ -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-177", + id: `${set.code}-${localId}`, localId: 177, + // Card informations name: { en: "Potion", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/177/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/177/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/177/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/177/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Heal 30 damage from 1 of your Pokémon.", - fr: "Soignez 30 dégâts de l’un de vos Pokémon.", - }, - }], + effect: { + en: "Heal 30 damage from 1 of your Pokémon.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/178.ts b/cards/swsh/swsh1/178.ts index 163c2ca83..c146e9bd6 100644 --- a/cards/swsh/swsh1/178.ts +++ b/cards/swsh/swsh1/178.ts @@ -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-178", + id: `${set.code}-${localId}`, localId: 178, + // Card informations name: { en: "Professor's Research (Professor Magnolia)", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/178/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/178/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/178/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/178/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Discard your hand and draw 7 cards.", - fr: "Défaussez votre main, puis piochez 7 cartes.", - }, - }], + effect: { + en: "Discard your hand and draw 7 cards.", + }, + rarity: Rarity.RareHolo, + + category: Category.TRAINER, - - rarity: Rarity.RareHolo, - - category: Category.TRAINER, - - set: { - name: "Sword & Shield", - code: "swsh1" - } + set, } -export default card +export default card \ No newline at end of file diff --git a/cards/swsh/swsh1/179.ts b/cards/swsh/swsh1/179.ts index 3fbcd5cd9..1be639b7c 100644 --- a/cards/swsh/swsh1/179.ts +++ b/cards/swsh/swsh1/179.ts @@ -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 \ No newline at end of file diff --git a/cards/swsh/swsh1/180.ts b/cards/swsh/swsh1/180.ts index 185f548a4..3326008f5 100644 --- a/cards/swsh/swsh1/180.ts +++ b/cards/swsh/swsh1/180.ts @@ -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-180", + id: `${set.code}-${localId}`, localId: 180, + // Card informations name: { en: "Rare Candy", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/180/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/180/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/180/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/180/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Choose 1 of your Basic Pokémon in play. If you have a Stage 2 card in your hand that evolves from that Pokémon, put that card onto the Basic Pokémon to evolve it, skipping the Stage 1. You can’t use this card during your first turn or on a Basic Pokémon that was put into play this turn.", - fr: "Choisissez l’un de vos Pokémon de base en jeu. Si vous avez dans votre main une Évolution de Niveau 2 de ce Pokémon-là, placez celle-ci sur le Pokémon de base pour le faire évoluer, sans passer par le Niveau 1. Vous ne pouvez utiliser cette carte ni pendant votre premier tour ni sur un Pokémon de base qui a été mis en jeu pendant ce tour.", - }, - }], + effect: { + en: "Choose 1 of your Basic Pokémon in play. If you have a Stage 2 card in your hand that evolves from that Pokémon, put that card onto the Basic Pokémon to evolve it, skipping the Stage 1. You can’t use this card during your first turn or on a Basic Pokémon that was put into play this turn.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/181.ts b/cards/swsh/swsh1/181.ts index f2d13d7bf..312398a09 100644 --- a/cards/swsh/swsh1/181.ts +++ b/cards/swsh/swsh1/181.ts @@ -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-181", + id: `${set.code}-${localId}`, localId: 181, + // Card informations name: { en: "Rotom Bike", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/181/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/181/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/181/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/181/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Draw cards until you have 6 cards in your hand. Your turn ends.", - fr: "Piochez des cartes jusqu’à en avoir 6 en main. Votre tour se termine.", - }, - }], + effect: { + en: "Draw cards until you have 6 cards in your hand. Your turn ends.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/182.ts b/cards/swsh/swsh1/182.ts index a47e5d8a5..e72443012 100644 --- a/cards/swsh/swsh1/182.ts +++ b/cards/swsh/swsh1/182.ts @@ -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-182", + id: `${set.code}-${localId}`, localId: 182, + // Card informations name: { en: "Sitrus Berry", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/182/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/182/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/182/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/182/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 has 3 or more damage counters on it, heal 30 damage from it and discard this card.", - fr: "À la fin de chaque tour, si le Pokémon auquel cette carte est attachée a au moins 3 marqueurs de dégâts, soignez 30 de ses dégâts, puis défaussez cette carte.", - }, - }], + effect: { + en: "At the end of each turn, if the Pokémon this card is attached to has 3 or more damage counters on it, heal 30 damage from it 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/183.ts b/cards/swsh/swsh1/183.ts index 2cf741abf..5a0d572c9 100644 --- a/cards/swsh/swsh1/183.ts +++ b/cards/swsh/swsh1/183.ts @@ -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-183", + id: `${set.code}-${localId}`, localId: 183, + // Card informations name: { en: "Switch", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/183/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/183/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/183/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/183/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.ITEM, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Switch your Active Pokémon with 1 of your Benched Pokémon.", - fr: "Échangez votre Pokémon Actif contre l’un de vos Pokémon de Banc.", - }, - }], + effect: { + en: "Switch your Active Pokémon with 1 of your Benched Pokémon.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/184.ts b/cards/swsh/swsh1/184.ts index 19ca7ceab..220a94c03 100644 --- a/cards/swsh/swsh1/184.ts +++ b/cards/swsh/swsh1/184.ts @@ -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-184", + id: `${set.code}-${localId}`, localId: 184, + // Card informations name: { en: "Team Yell Grunt", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/184/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/184/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/184/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/184/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Put an Energy attached to 1 of your opponent’s Pokémon into their hand.", - fr: "Ajoutez à la main de votre adversaire une Énergie attachée à l’un de ses Pokémon.", - }, - }], + effect: { + en: "Put an Energy attached to 1 of your opponent’s Pokémon into their hand.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/185.ts b/cards/swsh/swsh1/185.ts index 0b232cfa7..a0528be85 100644 --- a/cards/swsh/swsh1/185.ts +++ b/cards/swsh/swsh1/185.ts @@ -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-185", + id: `${set.code}-${localId}`, localId: 185, + // Card informations name: { en: "Vitality Band", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/185/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/185/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/185/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/185/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.TOOL, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "The attacks of the Pokémon this card is attached to do 10 more damage to your opponent’s Active Pokémon (before applying Weakness and Resistance).", - fr: "Les attaques du Pokémon auquel cette carte est attachée infligent 10 dégâts supplémentaires au Pokémon Actif de votre adversaire (avant application de la Faiblesse et de la Résistance).", - }, - }], + effect: { + en: "The attacks of the Pokémon this card is attached to do 10 more damage to your opponent’s Active Pokémon (before applying Weakness and Resistance).", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/186.ts b/cards/swsh/swsh1/186.ts index bb68be724..59d236bed 100644 --- a/cards/swsh/swsh1/186.ts +++ b/cards/swsh/swsh1/186.ts @@ -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 à l’un 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/199.ts b/cards/swsh/swsh1/199.ts index b337f0ff9..f9371bde6 100644 --- a/cards/swsh/swsh1/199.ts +++ b/cards/swsh/swsh1/199.ts @@ -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 à l’un 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/200.ts b/cards/swsh/swsh1/200.ts index 36fcd9ed0..ddbdd9290 100644 --- a/cards/swsh/swsh1/200.ts +++ b/cards/swsh/swsh1/200.ts @@ -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-200", + id: `${set.code}-${localId}`, localId: 200, + // Card informations name: { en: "Marnie", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/200/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/200/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/200/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/200/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Each player shuffles their hand and puts it on the bottom of their deck. If either player put any cards on the bottom of their deck in this way, you draw 5 cards, and your opponent draws 4 cards.", - fr: "Chaque joueur mélange sa main, puis la place en dessous de son deck. Si l’un des joueurs place ainsi au moins une carte en dessous de son deck, vous piochez 5 cartes et votre adversaire en pioche 4.", - }, - }], + effect: { + en: "Each player shuffles their hand and puts it on the bottom of their deck. If either player put any cards on the bottom of their deck in this way, you draw 5 cards, and your opponent draws 4 cards.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/201.ts b/cards/swsh/swsh1/201.ts index be99f2fea..3cc3a229e 100644 --- a/cards/swsh/swsh1/201.ts +++ b/cards/swsh/swsh1/201.ts @@ -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-201", + id: `${set.code}-${localId}`, localId: 201, + // Card informations name: { en: "Professor's Research (Professor Magnolia)", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/201/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/201/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/201/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/201/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Discard your hand and draw 7 cards.", - fr: "Défaussez votre main, puis piochez 7 cartes.", - }, - }], + effect: { + en: "Discard your hand and draw 7 cards.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/202.ts b/cards/swsh/swsh1/202.ts index c26c4c7ea..2e897551f 100644 --- a/cards/swsh/swsh1/202.ts +++ b/cards/swsh/swsh1/202.ts @@ -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-202", + id: `${set.code}-${localId}`, localId: 202, + // Card informations name: { en: "Team Yell Grunt", @@ -19,18 +24,16 @@ const card: Card = { - - - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/202/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/202/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/202/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/202/low", + }, + + }, - evolveFrom: {}, + tags: [ Tag.SUPPORTER, @@ -40,28 +43,19 @@ const card: Card = { - attacks: [{ - name: {}, - text: { - en: "Put an Energy attached to 1 of your opponent’s Pokémon into their hand.", - fr: "Ajoutez à la main de votre adversaire une Énergie attachée à l’un de ses Pokémon.", - }, - }], + effect: { + en: "Put an Energy attached to 1 of your opponent’s Pokémon into their hand.", + }, + 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 \ No newline at end of file diff --git a/cards/swsh/swsh1/50.ts b/cards/swsh/swsh1/50.ts index ddb4868a2..1c4245879 100644 --- a/cards/swsh/swsh1/50.ts +++ b/cards/swsh/swsh1/50.ts @@ -4,11 +4,15 @@ 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-50", + id: `${set.code}-${localId}`, localId: 50, dexId: 131, @@ -25,13 +29,13 @@ const card: Card = { Type.WATER, ], - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/50/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/50/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/50/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/50/low", + }, + + }, evolveFrom: { @@ -39,6 +43,7 @@ const card: Card = { fr: "Lokhlass V", }, + tags: [ Tag.VMAX, ], @@ -46,34 +51,38 @@ const card: Card = { illustrator: "5ban Graphics", + attacks: [ + { + cost: [ + Type.COLORLESS, + Type.COLORLESS, + Type.COLORLESS, + ], - attacks: [{ - name: { - en: "VMAX rule", - fr: "Règle VMAX", - }, - },{ - cost: [ - Type.COLORLESS, - Type.COLORLESS, - Type.COLORLESS - ], - name: { - en: "G-Max Pump", - fr: "Pompe G-Max", - }, - text: { - en: "This attack does 30 more damage for each Water Energy attached to this Pokémon.", - fr: "Cette attaque inflige 30 dégâts supplémentaires pour chaque Énergie Water attachée à ce Pokémon.", - }, - damage: "90+" - }], + name: { + en: "G-Max Pump", + fr: "Pompe G-Max", + }, - weaknesses: [{ - type: Type.LIGHTNING, - value: "×2" - }], + text: { + en: "This attack does 30 more damage for each Water Energy attached to this Pokémon.", + fr: "Cette attaque inflige 30 dégâts supplémentaires pour chaque Énergie Water attachée à ce Pokémon.", + }, + damage: "90+", + + }, + ], + + + weaknesses: [ + { + type: Type.LIGHTNING, + + value: "×2", + + }, + ], retreat: 3, @@ -82,10 +91,8 @@ const card: Card = { category: Category.POKEMON, - set: { - name: "Sword & Shield", - code: "swsh1" - } + + set, } export default card diff --git a/cards/swsh/swsh1/80.ts b/cards/swsh/swsh1/80.ts index 9acf25a2b..15a49a16d 100644 --- a/cards/swsh/swsh1/80.ts +++ b/cards/swsh/swsh1/80.ts @@ -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-80", + id: `${set.code}-${localId}`, localId: 80, + // Card informations name: { en: "Morpeko VMAX", @@ -23,13 +28,13 @@ const card: Card = { Type.LIGHTNING, ], - - image: { - low: { - en: "https://assets.tcgdex.net/en/swsh/swsh1/80/low", - fr: "https://assets.tcgdex.net/fr/swsh/swsh1/80/low", - } + low: { + en: "https://assets.tcgdex.net/en/swsh/swsh1/80/low", + fr: "https://assets.tcgdex.net/fr/swsh/swsh1/80/low", + }, + + }, evolveFrom: { @@ -37,6 +42,7 @@ const card: Card = { fr: "Morpeko-V", }, + tags: [ Tag.VMAX, ], @@ -44,34 +50,38 @@ const card: Card = { illustrator: "5ban Graphics", + attacks: [ + { + cost: [ + Type.LIGHTNING, + Type.LIGHTNING, + Type.COLORLESS, + ], - attacks: [{ - name: { - en: "VMAX rule", - fr: "Règle VMAX", - }, - },{ - cost: [ - Type.LIGHTNING, - Type.LIGHTNING, - Type.COLORLESS - ], - name: { - en: "Max Discharge", - fr: "Déchargeomax", - }, - text: { - en: "This attack also does 20 damage to each of your opponent’s Benched Pokémon. (Don’t apply Weakness and Resistance for Benched Pokémon.)", - fr: "Cette attaque inflige aussi 20 dégâts à chacun des Pokémon de Banc de votre adversaire. (N’appliquez ni la Faiblesse ni la Résistance aux Pokémon de Banc.)", - }, - damage: 180 - }], + name: { + en: "Max Discharge", + fr: "Déchargeomax", + }, - weaknesses: [{ - type: Type.FIGHTING, - value: "×2" - }], + text: { + en: "This attack also does 20 damage to each of your opponent’s Benched Pokémon. (Don’t apply Weakness and Resistance for Benched Pokémon.)", + fr: "Cette attaque inflige aussi 20 dégâts à chacun des Pokémon de Banc de votre adversaire. (N’appliquez ni la Faiblesse ni la Résistance aux Pokémon de Banc.)", + }, + damage: 180, + + }, + ], + + + weaknesses: [ + { + type: Type.FIGHTING, + + value: "×2", + + }, + ], retreat: 1, @@ -80,10 +90,8 @@ const card: Card = { category: Category.POKEMON, - set: { - name: "Sword & Shield", - code: "swsh1" - } + + set, } export default card diff --git a/cards/swsh/swsh2/118.ts b/cards/swsh/swsh2/118.ts new file mode 100644 index 000000000..d7c3efe2d --- /dev/null +++ b/cards/swsh/swsh2/118.ts @@ -0,0 +1,108 @@ +import Card from '@tcgdex/sdk/interfaces/Card' +import Type from '@tcgdex/sdk/interfaces/Type' +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/swsh2' + +const localId = path.basename(__filename).split(".")[0] + +const card: Card = { + + // ids + id: `${set.code}-${localId}`, + localId: 118, + + + // Card informations + name: { + en: "Garbodor", + }, + + hp: 120, + + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + + evolveFrom: { + en: "Trubbish", + }, + + + tags: [ + ], + + illustrator: "AKIRA EGAWA", + + abilities: [ + { + type: AbilityType.TALENT, + + name: { + en: "Poisonous Puddle", + }, + + text: { + en: "Once during your turn, if a Stadium is in play, you may make your opponent's Active Pokémon Poisoned.", + }, + +} +, + ], + + attacks: [ + { + cost: [ + Type.DARKNESS, + Type.COLORLESS, + Type.COLORLESS, + ], + + name: { + en: "Sludge Bomb", + }, + + text: { + en: undefined, + }, + + damage: 80, + + }, + ], + + + weaknesses: [ + { + type: Type.FIGHTING, + + value: "×2", + + }, + ], + + + retreat: 2, + + rarity: Rarity.Rare, + + category: Category.POKEMON, + + + set, +} + +export default card \ No newline at end of file diff --git a/cards/swsh/swsh2/154.ts b/cards/swsh/swsh2/154.ts new file mode 100644 index 000000000..0c758b1da --- /dev/null +++ b/cards/swsh/swsh2/154.ts @@ -0,0 +1,65 @@ +import Card from '@tcgdex/sdk/interfaces/Card' +import Type from '@tcgdex/sdk/interfaces/Type' +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/swsh2' + +const localId = path.basename(__filename).split(".")[0] + +const card: Card = { + + // ids + id: `${set.code}-${localId}`, + localId: 154, + + + // Card informations + name: { + en: "Boss’s Orders (Giovanni)", + }, + + + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + + + + tags: [ + ], + + illustrator: "nagimiso", + + + attacks: [ + ], + + effect: { + en: "Switch 1 of your opponent’s Benched Pokémon with their Active Pokémon.", + }, + + + + + rarity: Rarity.RareHolo, + + category: Category.TRAINER, + + + set, +} + +export default card \ No newline at end of file diff --git a/cards/swsh/swsh2/18.ts b/cards/swsh/swsh2/18.ts new file mode 100644 index 000000000..1c7b3291a --- /dev/null +++ b/cards/swsh/swsh2/18.ts @@ -0,0 +1,110 @@ +import Card from '@tcgdex/sdk/interfaces/Card' +import Type from '@tcgdex/sdk/interfaces/Type' +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/swsh2' + +const localId = path.basename(__filename).split(".")[0] + +const card: Card = { + + // ids + id: `${set.code}-${localId}`, + localId: 18, + + + // Card informations + name: { + en: "Rillaboom VMAX", + }, + + hp: 330, + + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + + evolveFrom: { + en: "Rillaboom V", + }, + + + tags: [ + ], + + illustrator: "5ban Graphics", + + + attacks: [ + { + cost: [ + Type.COLORLESS, + ], + + name: { + en: "Scratch", + }, + + text: { + en: undefined, + }, + + damage: 50, + + }, + { + cost: [ + Type.GRASS, + Type.GRASS, + Type.GRASS, + Type.COLORLESS, + ], + + name: { + en: "Max Beating", + }, + + text: { + en: "You may discard up to 3 Grass Energy from this Pokémon. If you do, this attack does 50 more damage for each card you discarded in this way.", + }, + + damage: "130+", + + }, + ], + + + weaknesses: [ + { + type: Type.FIRE, + + value: "×2", + + }, + ], + + + retreat: 3, + + rarity: Rarity.RareVMAX, + + category: Category.POKEMON, + + + set, +} + +export default card \ No newline at end of file diff --git a/cards/swsh/swsh2/19.ts b/cards/swsh/swsh2/19.ts new file mode 100644 index 000000000..568edaa09 --- /dev/null +++ b/cards/swsh/swsh2/19.ts @@ -0,0 +1,104 @@ +import Card from '@tcgdex/sdk/interfaces/Card' +import Type from '@tcgdex/sdk/interfaces/Type' +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/swsh2' + +const localId = path.basename(__filename).split(".")[0] + +const card: Card = { + + // ids + id: `${set.code}-${localId}`, + localId: 19, + + + // Card informations + name: { + en: "Eldegoss V", + }, + + hp: 180, + + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + + + + tags: [ + ], + + illustrator: "5ban Graphics", + + abilities: [ + { + type: AbilityType.TALENT, + + name: { + en: "Happy Match", + }, + + text: { + en: "When you play this Pokémon from your hand onto your Bench during your turn, you may put a Supporter card from your discard pile into your hand.", + }, + +} +, + ], + + attacks: [ + { + cost: [ + Type.COLORLESS, + Type.COLORLESS, + ], + + name: { + en: "Float Up", + }, + + text: { + en: "You may shuffle this Pokémon and all attached cards into your deck.", + }, + + damage: 50, + + }, + ], + + + weaknesses: [ + { + type: Type.FIRE, + + value: "×2", + + }, + ], + + + retreat: 1, + + rarity: Rarity.RareV, + + category: Category.POKEMON, + + + set, +} + +export default card \ No newline at end of file diff --git a/cards/swsh/swsh2/36.ts b/cards/swsh/swsh2/36.ts new file mode 100644 index 000000000..e15fad205 --- /dev/null +++ b/cards/swsh/swsh2/36.ts @@ -0,0 +1,110 @@ +import Card from '@tcgdex/sdk/interfaces/Card' +import Type from '@tcgdex/sdk/interfaces/Type' +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/swsh2' + +const localId = path.basename(__filename).split(".")[0] + +const card: Card = { + + // ids + id: `${set.code}-${localId}`, + localId: 36, + + + // Card informations + name: { + en: "Cinderace VMAX", + }, + + hp: 320, + + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + + evolveFrom: { + en: "Cinderace V", + }, + + + tags: [ + ], + + illustrator: "5ban Graphics", + + + attacks: [ + { + cost: [ + Type.FIRE, + Type.COLORLESS, + ], + + name: { + en: "Counter", + }, + + text: { + en: "If this Pokémon was damaged by an attack during your opponent's last turn, this attack does that much more damage.", + }, + + damage: "30+", + + }, + { + cost: [ + Type.FIRE, + Type.FIRE, + Type.COLORLESS, + ], + + name: { + en: "Max Pyro Ball", + }, + + text: { + en: "Your opponent’s Active Pokémon is now Burned.", + }, + + damage: 170, + + }, + ], + + + weaknesses: [ + { + type: Type.WATER, + + value: "×2", + + }, + ], + + + retreat: 2, + + rarity: Rarity.RareVMAX, + + category: Category.POKEMON, + + + set, +} + +export default card \ No newline at end of file diff --git a/cards/swsh/swsh2/50.ts b/cards/swsh/swsh2/50.ts index 3a9bd1c25..170a5b081 100644 --- a/cards/swsh/swsh2/50.ts +++ b/cards/swsh/swsh2/50.ts @@ -5,15 +5,15 @@ 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 swsh2 from '../../../sets/swsh/swsh2' +import set from '../../../sets/swsh/swsh2' const localId = path.basename(__filename).split(".")[0] const card: Card = { // ids - id: `swsh2-${localId}`, - localId: isNaN(parseInt(localId)) ? localId : parseInt(localId), + id: `${set.code}-${localId}`, + localId: 50, dexId: 888, @@ -22,65 +22,93 @@ const card: Card = { en: "Inteleon VMAX", }, + hp: 320, + + type: [ + Type.WATER, + ], + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + evolveFrom: { - en: "Inteleon V" + en: "Inteleon V", }, + tags: [ Tag.VMAX, ], + illustrator: "5ban Graphics", + + attacks: [ { - name: { - en: "Hydro Snipe " - }, - text: { - en: "You may put an Energy attached to your opponent's Active Pokémon into their hand. " - }, - damage: 60, cost: [ - Type.WATER - ] + Type.WATER, + ], + + name: { + en: "Hydro Snipe", + }, + + text: { + en: "You may put an Energy attached to your opponent's Active Pokémon into their hand.", + }, + + damage: 60, + }, { - name: { - en: "Max Bullet" - }, - text: { - en: "This attack also does 60 damage to 1 of your opponent's Benched Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.)" - }, - damage: 160, cost: [ - Type.WATER, Type.WATER, Type.COLORLESS, + ], - ] - } + name: { + en: "Max Bullet", + }, + + text: { + en: "This attack also does 60 damage to 1 of your opponent's Benched Pokémon. (Don’t apply Weakness and Resistance for Benched Pokémon.)", + }, + + damage: 160, + + }, ], + weaknesses: [ { - type: Type.LIGHTNING, - value: "x2" - } + type: Type.LIGHTNING, + + value: "×2", + + }, ], - type: [ - Type.WATER - ], retreat: 2, - illustrator: "5ban Graphics", + rarity: Rarity.RareVMAX, - rarity: Rarity.RareUltra, + category: Category.POKEMON, - category: Category.POKEMON, - set: swsh2 + set, } -export default card +export default card \ No newline at end of file diff --git a/cards/swsh/swsh2/71.ts b/cards/swsh/swsh2/71.ts new file mode 100644 index 000000000..86d9d172e --- /dev/null +++ b/cards/swsh/swsh2/71.ts @@ -0,0 +1,93 @@ +import Card from '@tcgdex/sdk/interfaces/Card' +import Type from '@tcgdex/sdk/interfaces/Type' +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/swsh2' + +const localId = path.basename(__filename).split(".")[0] + +const card: Card = { + + // ids + id: `${set.code}-${localId}`, + localId: 71, + + + // Card informations + name: { + en: "Toxtricity VMAX", + }, + + hp: 320, + + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + + evolveFrom: { + en: "Toxtricity V", + }, + + + tags: [ + ], + + illustrator: "5ban Graphics", + + + attacks: [ + { + cost: [ + Type.LIGHTNING, + Type.LIGHTNING, + Type.COLORLESS, + ], + + name: { + en: "G-Max Riot", + }, + + text: { + en: "If your opponent’s Active Pokémon is Poisoned, this attack does 80 more damage.", + }, + + damage: "160+", + + }, + ], + + + weaknesses: [ + { + type: Type.FIGHTING, + + value: "×2", + + }, + ], + + + retreat: 2, + + rarity: Rarity.RareVMAX, + + category: Category.POKEMON, + + + set, +} + +export default card \ No newline at end of file diff --git a/cards/swsh/swsh2/93.ts b/cards/swsh/swsh2/93.ts new file mode 100644 index 000000000..3dacb8b94 --- /dev/null +++ b/cards/swsh/swsh2/93.ts @@ -0,0 +1,116 @@ +import Card from '@tcgdex/sdk/interfaces/Card' +import Type from '@tcgdex/sdk/interfaces/Type' +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/swsh2' + +const localId = path.basename(__filename).split(".")[0] + +const card: Card = { + + // ids + id: `${set.code}-${localId}`, + localId: 93, + + + // Card informations + name: { + en: "Dragapult VMAX", + }, + + hp: 320, + + + + // image?: { + // low: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/low` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/low` + // }, + // high: { + // en: `https://assets.tcgdex.net/en/swsh/${set.code}/${localId}/high` + // fr: `https://assets.tcgdex.net/fr/swsh/${set.code}/${localId}/high` + // } + //} + + + evolveFrom: { + en: "Dragapult V", + }, + + + tags: [ + ], + + illustrator: "aky CG Works", + + + attacks: [ + { + cost: [ + Type.PSYCHIC, + ], + + name: { + en: "Shred", + }, + + text: { + en: "This attack’s damage isn’t affected by any effects on your opponent’s Active Pokémon.", + }, + + damage: 60, + + }, + { + cost: [ + Type.PSYCHIC, + Type.PSYCHIC, + ], + + name: { + en: "Max Phantom", + }, + + text: { + en: "Put 5 damage counters on your opponent’s Benched Pokémon in any way you like.", + }, + + damage: 130, + + }, + ], + + + weaknesses: [ + { + type: Type.DARKNESS, + + value: "×2", + + }, + ], + + resistances: [ + { + type: Type.FIGHTING, + + value: "-30", + + }, + ], + + retreat: 1, + + rarity: Rarity.RareVMAX, + + category: Category.POKEMON, + + + set, +} + +export default card \ No newline at end of file