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

116 lines
2.3 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: "smp-SM178",
localId: "SM178",
// Card informations
name: {
en: "Melmetal-GX",
fr: "Melmetal-GX",
},
hp: 220,
type: [
Type.METAL,
],
dexId: 809,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/smp/SM178/low",
fr: "https://assets.tcgdex.net/fr/sm/smp/SM178/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/smp/SM178/high",
fr: "https://assets.tcgdex.net/fr/sm/smp/SM178/high",
},
},
evolveFrom: {
en: "Meltan",
fr: "Meltan",
},
tags: [
Tag.GX,
],
illustrator: "PLANETA Otani",
abilities: [{
id: 1328,
type: AbilityType.TALENT,
name: {
en: "Hard Coat",
fr: "Strate Dure",
},
text: {
en: "This Pokémon takes 30 less damage from attacks (after applying Weakness and Resistance).",
fr: "Ce Pokémon 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,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Metal Blast",
fr: "Explosion Métallique",
},
text: {
en: "This attack does 20 more damage times the amount of Metal Energy attached to this Pokémon.",
fr: "Cette attaque inflige 20 dégâts supplémentaires multipliés par le nombre dÉnergies Metal attachées à ce Pokémon.",
},
damage: 110
},{
cost: [
Type.METAL
],
name: {
en: "Iron Force GX",
fr: "Force de Fer-GX",
},
text: {
en: "Attach any number of Metal Energy cards from your discard pile to this Pokémon. (You can't use more than 1 GX attack in a game.)",
fr: "Attachez autant de cartes Énergie Metal que vous le voulez de votre pile de défausse à ce Pokémon. (Vous ne pouvez utiliser quune attaque GX par partie.)",
},
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
resistances: [{
type: Type.PSYCHIC,
value: "-20"
}],
retreat: 4,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "SM Black Star Promos",
code: "smp"
}
}
export default card