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

97 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: "sm4-78",
localId: 78,
// Card informations
name: {
en: "Miltank",
fr: "Écrémeuh",
},
hp: 100,
type: [
Type.COLORLESS,
],
dexId: 241,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm4/78/low",
fr: "https://assets.tcgdex.net/fr/sm/sm4/78/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm4/78/high",
fr: "https://assets.tcgdex.net/fr/sm/sm4/78/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Mina Nakai",
abilities: [{
id: 1102,
type: AbilityType.TALENT,
name: {
en: "Moomoo Malt",
fr: "Milk-Shake Meumeu",
},
text: {
en: "As long as this Pokémon is your Active Pokémon, whenever you attach an Energy card from your hand to 1 of your Pokémon, heal 90 damage from that Pokémon.",
fr: "Tant que ce Pokémon est votre Pokémon Actif, chaque fois que vous attachez une carte Énergie de votre main à lun de vos Pokémon, soignez 90 dégâts à ce Pokémon.",
}
}],
attacks: [{
cost: [
Type.COLORLESS,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Sitdown Splash",
fr: "Grosse Éclaboussure",
},
text: {
en: "Flip a coin. If heads, this attack does 30 more damage.",
fr: "Lancez une pièce. Si cest face, cette attaque inflige 30 dégâts supplémentaires.",
},
damage: 60
}],
weaknesses: [{
type: Type.FIGHTING,
value: "×2"
}],
retreat: 2,
rarity: Rarity.UNCOMMON,
category: Category.POKEMON,
set: {
name: "Crimson Invasion",
code: "sm4"
}
}
export default card