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

102 lines
1.9 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: "sm12-138",
localId: 138,
// Card informations
name: {
en: "Alolan Sandslash",
fr: "Sablaireau dAlola",
},
hp: 120,
type: [
Type.METAL,
],
dexId: 28,
image: {
low: {
en: "https://assets.tcgdex.net/en/sm/sm12/138/low",
fr: "https://assets.tcgdex.net/fr/sm/sm12/138/low",
},
high: {
en: "https://assets.tcgdex.net/en/sm/sm12/138/high",
fr: "https://assets.tcgdex.net/fr/sm/sm12/138/high",
},
},
evolveFrom: {
en: "Alolan Sandshrew",
fr: "Sabelette dAlola",
},
tags: [
Tag.STAGE1,
],
illustrator: "Hasuno",
attacks: [{
name: {
en: "Curve Strike",
fr: "Courbe-Frappe",
},
text: {
en: "Flip a coin. If heads, prevent all damage done to this Pokémon by attacks during your opponent's next turn.",
fr: "Lancez une pièce. Si cest face, évitez tous les dégâts infligés à ce Pokémon par des attaques pendant le prochain tour de votre adversaire.",
},
damage: 30
},{
cost: [
Type.METAL,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Reinforced Needle",
fr: "Épine Renforcée",
},
text: {
en: "If this Pokémon has a Pokémon Tool card attached to it, this attack does 60 more damage.",
fr: "Si une carte Outil Pokémon est attachée à ce Pokémon, cette attaque inflige 60 dégâts supplémentaires.",
},
damage: 60
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
resistances: [{
type: Type.PSYCHIC,
value: "-20"
}],
retreat: 1,
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Cosmic Eclipse",
code: "sm12"
}
}
export default card