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

96 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: "xy2-21",
localId: 21,
// Card informations
name: {
en: "Qwilfish",
fr: "Qwilfish",
},
hp: 80,
type: [
Type.WATER,
],
dexId: 211,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/xy2/21/low",
fr: "https://assets.tcgdex.net/fr/xy/xy2/21/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/xy2/21/high",
fr: "https://assets.tcgdex.net/fr/xy/xy2/21/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Kouki Saitou",
abilities: [{
id: 712,
type: AbilityType.TALENT,
name: {
en: "Counterattack Quills",
fr: "Contre-Piquants",
},
text: {
en: "If this Pokémon is your Active Pokémon and is damaged by an opponent's attack (even if this Pokémon is Knocked Out), put 2 damage counters on the Attacking Pokémon.",
fr: "Si ce Pokémon est votre Pokémon Actif et qu'il subit les dégâts d'une attaque de votre adversaire (même si ce Pokémon est mis K.O.), placez 2 marqueurs de dégâts sur le Pokémon Attaquant.",
}
}],
attacks: [{
cost: [
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Poison Sting",
fr: "Dard-Venin",
},
text: {
en: "Your opponent's Active Pokémon is now Poisoned.",
fr: "Le Pokémon Actif de votre adversaire est maintenant Empoisonné.",
},
damage: 20
}],
weaknesses: [{
type: Type.GRASS,
value: "×2"
}],
retreat: 1,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Flashfire",
code: "xy2"
}
}
export default card