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

96 lines
1.6 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: "swsh1-129",
localId: 129,
// Card informations
name: {
en: "Mawile",
fr: "Mysdibule",
},
hp: 90,
type: [
Type.METAL,
],
image: {
low: {
en: "https://assets.tcgdex.net/en/swsh/swsh1/129/low",
fr: "https://assets.tcgdex.net/fr/swsh/swsh1/129/low",
}
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "AKIRA EGAWA",
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Find a Friend",
fr: "Trouver un Ami",
},
text: {
en: "Search your deck for a Pokémon, reveal it, and put it into your hand. Then, shuffle your deck.",
fr: "Cherchez dans votre deck un Pokémon, montrez-le, puis ajoutez-le à votre main. Mélangez ensuite votre deck.",
},
},{
cost: [
Type.METAL,
Type.COLORLESS
],
name: {
en: "Crunch",
fr: "Mâchouille",
},
text: {
en: "Discard an Energy from your opponent's Active Pokémon.",
fr: "Défaussez une Énergie du Pokémon Actif de votre adversaire.",
},
damage: 40
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
resistances: [{
type: Type.GRASS,
value: "-30"
}],
retreat: 1,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Sword & Shield",
code: "swsh1"
}
}
export default card