1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-25 12:22:14 +00:00
Florian Bouillon 6ca1ae94ed
Updated Cards to use new Rarities
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-05-04 13:58:48 +02:00

61 lines
1.0 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/swsh1'
const localId = path.basename(__filename).split(".")[0]
const card: Card = {
// ids
id: `${set.code}-${localId}`,
localId: 167,
// Card informations
name: {
en: "Lucky Egg",
fr: "Œuf Chance",
},
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/167/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/167/low",
},
},
tags: [
Tag.TOOL,
],
illustrator: "Studio Bora Inc.",
effect: {
en: "If the Pokémon this card is attached to is Knocked Out by damage from an opponents attack, draw cards until you have 7 cards in your hand.",
},
rarity: Rarity.UNCOMMON,
category: Category.TRAINER,
set,
}
export default card