1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-05-01 07:12:08 +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

101 lines
2.0 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: "bw1-12",
localId: 12,
// Card informations
name: {
en: "Maractus",
fr: "Maracachi",
},
hp: 90,
type: [
Type.GRASS,
],
dexId: 556,
image: {
low: {
en: "https://assets.tcgdex.net/en/bw/bw1/12/low",
fr: "https://assets.tcgdex.net/fr/bw/bw1/12/low",
},
high: {
en: "https://assets.tcgdex.net/en/bw/bw1/12/high",
fr: "https://assets.tcgdex.net/fr/bw/bw1/12/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Kouki Saitou",
attacks: [{
cost: [
Type.GRASS
],
name: {
en: "Constant Rattle",
fr: "Secousses Successives",
},
text: {
en: "Flip 3 coins. If 1 of them is heads, this attack does 10 damage. If 2 of them are heads, this attack does 30 damage. If all of them are heads, this attack does 60 damage.",
fr: "Lancez 3 pièces. Si vous obtenez un côté face, cette attaque inflige 10 dégâts. Si vous obtenez 2 côtés face, cette attaque inflige 30 dégâts. Si vous obtenez seulement des côtés face, cette attaque inflige 60 dégâts.",
},
},{
cost: [
Type.GRASS,
Type.GRASS,
Type.GRASS
],
name: {
en: "Giga Drain",
fr: "Giga-Sangsue",
},
text: {
en: "Heal from this Pokémon the same amount of damage you did to the Defending Pokémon.",
fr: "Soignez à ce Pokémon la même quantité de dégâts que vous avez infligée au Pokémon Défenseur.",
},
damage: 50
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
resistances: [{
type: Type.WATER,
value: "-20"
}],
retreat: 2,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Black & White",
code: "bw1"
}
}
export default card