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

101 lines
1.8 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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'
const card: Card = {
// ids
id: "sm12-88",
localId: 88,
// Card informations
name: {
en: "Swoobat",
fr: "Rhinolove",
},
hp: 90,
type: [
Type.PSYCHIC,
],
dexId: 528,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm12/88/low",
fr: "https://assets.tcgdex.net/fr/sm/sm12/88/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm12/88/high",
fr: "https://assets.tcgdex.net/fr/sm/sm12/88/high",
},
},
evolveFrom: {
en: "Woobat",
fr: "Chovsourir",
},
tags: [
Tag.STAGE1,
],
illustrator: "Tomokazu Komiya",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Supersonic",
fr: "Ultrason",
},
text: {
en: "Your opponent's Active Pokémon is now Confused.",
fr: "Le Pokémon Actif de votre adversaire est maintenant Confus.",
},
},{
cost: [
Type.PSYCHIC
],
name: {
en: "Charming Stamp",
fr: "Trace Charmante",
},
text: {
en: "Your opponent chooses 1 of their own Pokémon. This attack does 90 damage to that Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.)",
fr: "Votre adversaire choisit lun de ses propres Pokémon. Cette attaque inflige 90 dégâts à ce Pokémon-là. (Nappliquez ni la Faiblesse ni la Résistance aux Pokémon de Banc.)",
},
}],
weaknesses: [{
type: Type.LIGHTNING,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
retreat: 1,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Cosmic Eclipse",
code: "sm12"
}
}
export default card