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

102 lines
2.1 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-152",
localId: 152,
// Card informations
name: {
en: "Florges",
fr: "Florges",
},
hp: 130,
type: [
Type.FAIRY,
],
dexId: 671,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm12/152/low",
fr: "https://assets.tcgdex.net/fr/sm/sm12/152/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm12/152/high",
fr: "https://assets.tcgdex.net/fr/sm/sm12/152/high",
},
},
evolveFrom: {
en: "Floette",
fr: "Floette",
},
tags: [
Tag.STAGE2,
],
illustrator: "Akira Komayama",
abilities: [{
id: 831,
type: AbilityType.TALENT,
name: {
en: "Flower Picking",
fr: "Cueillette de Fleurs",
},
text: {
en: "When you play this Pokémon from your hand to evolve 1 of your Pokémon during your turn, you may choose 2 random cards from your opponent's hand. Your opponent reveals those cards and shuffles them into their deck.",
fr: "Lorsque vous jouez ce Pokémon de votre main pour faire évoluer lun de vos Pokémon pendant votre tour, vous pouvez choisir 2 cartes au hasard dans la main de votre adversaire. Votre adversaire montre ces cartes et les mélange avec son deck.",
}
}],
attacks: [{
cost: [
Type.FAIRY,
Type.COLORLESS
],
name: {
en: "Petal Dance",
fr: "Danse-Fleur",
},
text: {
en: "Flip 3 coins. This attack does 60 damage for each heads. This Pokémon is now Confused.",
fr: "Lancez 3 pièces. Cette attaque inflige 60 dégâts pour chaque côté face. Ce Pokémon est maintenant Confus.",
},
damage: 60
}],
weaknesses: [{
type: Type.METAL,
value: "×2"
}],
resistances: [{
type: Type.DARKNESS,
value: "-20"
}],
retreat: 2,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Cosmic Eclipse",
code: "sm12"
}
}
export default card