1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-24 03:42:13 +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

98 lines
1.4 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: "dp2-51",
localId: 51,
// Card informations
name: {
en: "Graveler",
},
hp: 90,
type: [
Type.FIGHTING,
],
dexId: 75,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp2/51/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp2/51/high",
},
},
evolveFrom: {
en: "Geodude",
},
tags: [
Tag.STAGE1,
],
illustrator: "Mitsuhiro Arita",
attacks: [{
cost: [
Type.FIGHTING,
Type.COLORLESS
],
name: {
en: "Rock Cannon",
},
text: {
en: "Flip a coin until you get tails. This attack does 30 damage times the number of heads.",
},
damage: 30
},{
cost: [
Type.FIGHTING,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Rock Slide",
},
text: {
en: "Does 10 damage to 2 of your opponent's Benched Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.)",
},
damage: 40
}],
weaknesses: [{
type: Type.GRASS,
value: "+20"
}],
resistances: [{
type: Type.LIGHTNING,
value: "-20"
}],
rarity: Rarity.UNCOMMON,
category: Category.POKEMON,
set: {
name: "Mysterious Treasures",
code: "dp2"
}
}
export default card