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

88 lines
1.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

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: "ex8-79",
localId: 79,
// Card informations
name: {
en: "Swablu",
},
hp: 40,
type: [
Type.COLORLESS,
],
dexId: 333,
image: {
low: {
en: "https://assets.tcgdex.net/en/ex/ex8/79/low",
},
high: {
en: "https://assets.tcgdex.net/en/ex/ex8/79/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Kyoko Umemoto",
abilities: [{
id: 202,
type: AbilityType.POKEBODY,
name: {
en: "Fluff",
},
text: {
en: "Whenever Swablu would be damaged or affected by an opponent's attack and already has at least 1 damage counter on it, flip a coin. If heads, prevent all effects of that attack, including damage, done to Swablu.",
}
}],
attacks: [{
cost: [
Type.COLORLESS
],
name: {
en: "Peck",
},
damage: 10
}],
weaknesses: [{
type: Type.LIGHTNING,
value: "×2"
}],
resistances: [{
type: Type.FIGHTING,
value: "-30"
}],
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Deoxys",
code: "ex8"
}
}
export default card