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.7 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.

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: "dp4-62",
localId: 62,
// Card informations
name: {
en: "Cacnea",
fr: "Cacnea",
},
hp: 50,
type: [
Type.GRASS,
],
dexId: 331,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp4/62/low",
fr: "https://assets.tcgdex.net/fr/dp/dp4/62/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp4/62/high",
fr: "https://assets.tcgdex.net/fr/dp/dp4/62/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Saya Tsuruta",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Sand Attack",
fr: "Jet de sable",
},
text: {
en: "If the Defending Pokémon tries to attack during your opponent's next turn, your opponent flips a coin. If tails, that attack does nothing.",
fr: "Si le Pokémon Défenseur essaye d'attaquer lors du prochain tour de votre adversaire, celui-ci lance une pièce. Si c'est pile, cette attaque est sans effet.",
},
},{
cost: [
Type.GRASS,
Type.COLORLESS
],
name: {
en: "Poison Sting",
fr: "Dard-venin",
},
text: {
en: "The Defending Pokémon is now Poisoned.",
fr: "Le Pokémon Défenseur est maintenant Empoisonné.",
},
damage: 20
}],
weaknesses: [{
type: Type.FIRE,
value: "+10"
}],
resistances: [{
type: Type.WATER,
value: "-20"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Great Encounters",
code: "dp4"
}
}
export default card