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

100 lines
1.8 KiB
TypeScript

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: "dp7-58",
localId: 58,
// Card informations
name: {
en: "Drifloon",
fr: "Drifloon",
},
hp: 50,
type: [
Type.PSYCHIC,
],
dexId: 425,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp7/58/low",
fr: "https://assets.tcgdex.net/fr/dp/dp7/58/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp7/58/high",
fr: "https://assets.tcgdex.net/fr/dp/dp7/58/high",
},
},
evolveFrom: {
fr: "Baudrive",
},
tags: [
Tag.BASIC,
],
illustrator: "Atsuko Nishida",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Constrict",
fr: "Constriction",
},
text: {
en: "Flip a coin. If heads, the Defending Pokémon is now Paralyzed.",
fr: "Lancez 1 pièce. Si c'est face, le Pokémon Défenseur est maintenant Paralysé.",
},
},{
cost: [
Type.PSYCHIC
],
name: {
en: "Linear Attack",
fr: "Attaque linéaire",
},
text: {
en: "Choose 1 of your opponent's Pokémon. This attack does 10 damage to that Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.)",
fr: "Choisissez 1 des Pokémon de votre adversaire. Cette attaque lui inflige 10 dégâts. (Vous ne pouvez pas appliquer la Faiblesse et la Résistance aux Pokémon de Banc.)",
},
}],
weaknesses: [{
type: Type.DARKNESS,
value: "+10"
}],
resistances: [{
type: Type.COLORLESS,
value: "-20"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Stormfront",
code: "dp7"
}
}
export default card