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

90 lines
1.5 KiB
TypeScript

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: "dp7-66",
localId: 66,
// Card informations
name: {
en: "Magnemite",
fr: "Magnemite",
},
hp: 50,
type: [
Type.METAL,
],
dexId: 81,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp7/66/low",
fr: "https://assets.tcgdex.net/fr/dp/dp7/66/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp7/66/high",
fr: "https://assets.tcgdex.net/fr/dp/dp7/66/high",
},
},
evolveFrom: {
fr: "Magneti",
},
tags: [
Tag.BASIC,
],
illustrator: "Aya Kusube",
attacks: [{
cost: [
Type.LIGHTNING,
Type.COLORLESS
],
name: {
en: "Magnetic Bomb",
fr: "Bombe magnétique",
},
text: {
en: "Flip a coin. If heads, this attack does 30 damage plus 10 more damage. If tails, Magnemite does 10 damage to itself.",
fr: "Lancez une pièce. Si c'est face, cette attaque inflige 30 dégâts plus 10 dégâts supplémentaires. Si c'est pile, Magneti s'inflige 10 dégâts.",
},
damage: 30
}],
weaknesses: [{
type: Type.FIRE,
value: "+10"
}],
resistances: [{
type: Type.PSYCHIC,
value: "-20"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Stormfront",
code: "dp7"
}
}
export default card