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

93 lines
1.7 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-23",
localId: 23,
// Card informations
name: {
en: "Crobat",
},
hp: 100,
type: [
Type.PSYCHIC,
],
dexId: 169,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp2/23/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp2/23/high",
},
},
evolveFrom: {
en: "Golbat",
},
tags: [
Tag.STAGE2,
],
illustrator: "Masakazu Fukuda",
abilities: [{
id: 1051,
type: AbilityType.POKEPOWER,
name: {
en: "Evolutionary Toxic",
},
text: {
en: "Once during your turn, when you play Crobat from your hand to evolve 1 of your Pokémon, you may choose 1 of the Defending Pokémon. That Pokémon is now Poisoned. Put 2 damage counters instead of 1 on that Pokémon between turns.",
}
}],
attacks: [{
cost: [
Type.PSYCHIC,
Type.PSYCHIC
],
name: {
en: "Strike and Fade",
},
text: {
en: "Choose 1 of your opponent's Pokémon. This attack does 50 damage to that Pokémon. (Don't apply Weakness and Resistance for Benched Pokémon.) Flip a coin. If tails, shuffle Crobat and all cards attached to it back into your deck.",
},
}],
weaknesses: [{
type: Type.PSYCHIC,
value: "+30"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Mysterious Treasures",
code: "dp2"
}
}
export default card