1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-24 20:02:15 +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

99 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: "bw3-47",
localId: 47,
// Card informations
name: {
en: "Cofagrigus",
fr: "Tutankafer",
},
hp: 90,
type: [
Type.PSYCHIC,
],
dexId: 563,
image: {
low: {
en: "https://assets.tcgdex.net/en/bw/bw3/47/low",
fr: "https://assets.tcgdex.net/fr/bw/bw3/47/low",
},
high: {
en: "https://assets.tcgdex.net/en/bw/bw3/47/high",
fr: "https://assets.tcgdex.net/fr/bw/bw3/47/high",
},
},
evolveFrom: {
en: "Yamask",
fr: "Tutafeh",
},
tags: [
Tag.STAGE1,
],
illustrator: "Shin Nagasawa",
abilities: [{
id: 305,
type: AbilityType.TALENT,
name: {
en: "Durable Body",
fr: "Corps Solide",
},
text: {
en: "If this Pokémon would be Knocked Out by damage from an attack, flip a coin. If heads, this Pokémon is not Knocked Out and its remaining HP becomes 10 instead.",
fr: "Si ce Pokémon doit être mis K.O. par les dégâts d'une attaque, lancez une pièce. Si c'est face, ce Pokémon n'est pas mis K.O. mais il ne lui reste que 10 PV.",
}
}],
attacks: [{
cost: [
Type.PSYCHIC,
Type.COLORLESS
],
name: {
en: "Ambush",
fr: "Embuscade",
},
text: {
en: "Flip a coin. If heads, this attack does 20 more damage.",
fr: "Lancez une pièce. Si c'est face, cette attaque inflige 20 dégâts supplémentaires.",
},
damage: 40
}],
weaknesses: [{
type: Type.DARKNESS,
value: "×2"
}],
retreat: 2,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Noble Victories",
code: "bw3"
}
}
export default card