1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-26 21: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.9 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

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: "xy4-58",
localId: 58,
// Card informations
name: {
en: "Malamar-EX",
fr: "Sepiatroce-EX",
},
hp: 170,
type: [
Type.DARKNESS,
],
dexId: 687,
image: {
low: {
en: "https://assets.tcgdex.net/en/xy/xy4/58/low",
fr: "https://assets.tcgdex.net/fr/xy/xy4/58/low",
},
high: {
en: "https://assets.tcgdex.net/en/xy/xy4/58/high",
fr: "https://assets.tcgdex.net/fr/xy/xy4/58/high",
},
},
evolveFrom: {},
tags: [
Tag.EX,
],
illustrator: "Eske Yoshinob",
abilities: [{
id: 1407,
type: AbilityType.TALENT,
name: {
en: "Hyper Hypnosis",
fr: "Hypnose Intense",
},
text: {
en: "When you attach an Energy from your hand to this Pokémon, you may use this Ability. Your opponent's Active Pokémon is now Asleep.",
fr: "Lorsque vous attachez une Énergie de votre main à ce Pokémon, vous pouvez utiliser ce talent. Le Pokémon Actif de votre adversaire est maintenant Endormi.",
}
}],
attacks: [{
cost: [
Type.DARKNESS,
Type.COLORLESS
],
name: {
en: "MAXamar",
fr: "MAXatroce",
},
text: {
en: "Flip a coin for each Energy attached to this Pokémon. This attack does 60 damage times the number of heads.",
fr: "Lancez une pièce pour chaque Énergie attachée à ce Pokémon. Cette attaque inflige 60 dégâts multipliés par le nombre de côtés face.",
},
damage: 60
}],
weaknesses: [{
type: Type.FIGHTING,
value: "×2"
}],
resistances: [{
type: Type.PSYCHIC,
value: "-20"
}],
retreat: 2,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Phantom Forces",
code: "xy4"
}
}
export default card