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

100 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: "sm6-40",
localId: 40,
// Card informations
name: {
en: "Rotom",
fr: "Motisma",
},
hp: 70,
type: [
Type.PSYCHIC,
],
dexId: 479,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm6/40/low",
fr: "https://assets.tcgdex.net/fr/sm/sm6/40/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm6/40/high",
fr: "https://assets.tcgdex.net/fr/sm/sm6/40/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Naoyo Kimura",
abilities: [{
id: 26,
type: AbilityType.TALENT,
name: {
en: "Roto Motor",
fr: "Moti-Moteur",
},
text: {
en: "If you have 9 or more Pokémon Tool cards in your discard pile, ignore all Energy in the attack cost of each of this Pokémon's attacks.",
fr: "Si vous avez 9 cartes Outil Pokémon ou plus dans votre pile de défausse, ignorez toutes les Énergies dans le coût dattaque de chacune des attaques de ce Pokémon.",
}
}],
attacks: [{
cost: [
Type.PSYCHIC,
Type.PSYCHIC,
Type.PSYCHIC
],
name: {
en: "Plasma Slice",
fr: "Tranche Plasma",
},
text: {
en: "This Pokémon can't attack during your next turn.",
fr: "Ce Pokémon ne peut pas attaquer pendant votre prochain tour.",
},
damage: 120
}],
weaknesses: [{
type: Type.DARKNESS,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
retreat: 1,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Forbidden Light",
code: "sm6"
}
}
export default card