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

101 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-85",
localId: 85,
// Card informations
name: {
en: "Dusknoir",
fr: "Noctunoir",
},
hp: 160,
type: [
Type.PSYCHIC,
],
dexId: 477,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm12/85/low",
fr: "https://assets.tcgdex.net/fr/sm/sm12/85/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm12/85/high",
fr: "https://assets.tcgdex.net/fr/sm/sm12/85/high",
},
},
evolveFrom: {
en: "Dusclops",
fr: "Téraclope",
},
tags: [
Tag.STAGE2,
],
illustrator: "Eske Yoshinob",
abilities: [{
id: 1375,
type: AbilityType.TALENT,
name: {
en: "Grim Marking",
fr: "Symbole Sinistre",
},
text: {
en: "If this Pokémon is your Active Pokémon and is Knocked Out by damage from an opponent's attack, put 4 damage counters on your opponent's Pokémon in any way you like.",
fr: "Si ce Pokémon est votre Pokémon Actif et est mis K.O. par les dégâts dune attaque dun adversaire, placez 4 marqueurs de dégâts sur les Pokémon de votre adversaire, de la manière que vous voulez.",
}
}],
attacks: [{
cost: [
Type.PSYCHIC
],
name: {
en: "Psych Up",
fr: "Boost",
},
text: {
en: "During your next turn, this Pokémon's Psych Up attack does 60 more damage (before applying Weakness and Resistance).",
fr: "Pendant votre prochain tour, lattaque Boost de ce Pokémon inflige 60 dégâts supplémentaires (avant application de la Faiblesse et de la Résistance).",
},
damage: 60
}],
weaknesses: [{
type: Type.DARKNESS,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
retreat: 3,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Cosmic Eclipse",
code: "sm12"
}
}
export default card