1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-24 11:52:16 +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.2 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: 180,
// Card informations
name: {
en: "Rare Candy",
fr: "Super Bonbon",
},
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/180/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/180/low",
},
},
tags: [
Tag.ITEM,
],
illustrator: "Yoshinobu Saito",
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 cant 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,
set,
}
export default card