1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-25 04:12:11 +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

95 lines
1.6 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: "sm9-4",
localId: 4,
// Card informations
name: {
en: "Kakuna",
fr: "Coconfort",
},
hp: 80,
type: [
Type.GRASS,
],
dexId: 14,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm9/4/low",
fr: "https://assets.tcgdex.net/fr/sm/sm9/4/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm9/4/high",
fr: "https://assets.tcgdex.net/fr/sm/sm9/4/high",
},
},
evolveFrom: {
en: "Weedle",
fr: "Aspicot",
},
tags: [
Tag.STAGE1,
],
illustrator: "Yuka Morii",
abilities: [{
id: 1257,
type: AbilityType.TALENT,
name: {
en: "Grass Cushion",
fr: "Coussin Plante",
},
text: {
en: "If this Pokémon has any Grass Energy attached to it, it takes 30 less damage from attacks (after applying Weakness and Resistance).",
fr: "Si de lÉnergie Grass est attachée à ce Pokémon, il subit 30 dégâts de moins provenant des attaques (après application de la Faiblesse et de la Résistance).",
}
}],
attacks: [{
cost: [
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Bug Bite",
fr: "Piqûre",
},
damage: 20
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
retreat: 3,
rarity: Rarity.UNCOMMON,
category: Category.POKEMON,
set: {
name: "Team Up",
code: "sm9"
}
}
export default card