1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-23 03:12:10 +00:00
Florian Bouillon 4161262f70
Updated Sword & Shield Database
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-04-30 01:13:19 +02:00

108 lines
1.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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