1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-05-07 01:37:52 +00:00
Florian Bouillon a284fcac64
Updated DB and made it work with SDK
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
2020-03-11 09:41:29 +01:00

91 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: "pl4-2",
localId: 2,
// Card informations
name: {
en: "Froslass",
},
hp: 80,
type: [
Type.WATER,
],
dexId: 478,
image: {
low: {
en: "https://assets.tcgdex.net/en/pl/pl4/2/low",
},
high: {
en: "https://assets.tcgdex.net/en/pl/pl4/2/high",
},
},
evolveFrom: {
en: "Snorunt",
},
tags: [
Tag.STAGE1,
],
illustrator: "TOKIYA",
abilities: [{
id: 277,
type: AbilityType.POKEPOWER,
name: {
en: "Snow Gift",
},
text: {
en: "Once during your turn, when you play Froslass from your hand to evolve 1 of your Pokémon, you may search your deck for any 1 card and put it into your hand. Shuffle your deck afterward.",
}
}],
attacks: [{
cost: [
Type.WATER,
Type.COLORLESS
],
name: {
en: "Ground Frost",
},
text: {
en: "If there is any Stadium card in play, this attack does nothing.",
},
damage: 50
}],
weaknesses: [{
type: Type.METAL,
value: "+20"
}],
rarity: Rarity.RareHolo,
category: Category.POKEMON,
set: {
name: "Arceus",
code: "pl4"
}
}
export default card