1
0
mirror of https://github.com/tcgdex/cards-database.git synced 2025-04-25 04:12:11 +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

95 lines
1.7 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: "ex11-11",
localId: 11,
// Card informations
name: {
en: "Metagross δ",
},
hp: 100,
type: [
Type.LIGHTNING,
Type.METAL,
],
dexId: 376,
image: {
low: {
en: "https://assets.tcgdex.net/en/ex/ex11/11/low",
},
high: {
en: "https://assets.tcgdex.net/en/ex/ex11/11/high",
},
},
evolveFrom: {
en: "Metang",
},
tags: [
Tag.STAGE2,
],
illustrator: "Masakazu Fukuda",
abilities: [{
id: 832,
type: AbilityType.POKEPOWER,
name: {
en: "Delta Control",
},
text: {
en: "Once during your turn (before your attack), you may look at the top 4 cards of your deck, choose 1 of them, and put it into your hand. Put the 3 other cards on the bottom of your deck in any order. This power can't be used if Metagross is affected by a Special Condition.",
}
}],
attacks: [{
cost: [
Type.LIGHTNING,
Type.METAL
],
name: {
en: "Crush and Burn",
},
text: {
en: "You may discard as many Energy cards as you like attached to your Pokémon in play. If you do, this attack does 30 damage plus 20 more damage for each Energy card you discarded.",
},
damage: 30
}],
weaknesses: [{
type: Type.FIRE,
value: "×2"
}],
resistances: [{
type: Type.GRASS,
value: "-30"
}],
rarity: Rarity.RareHolo,
category: Category.POKEMON,
set: {
name: "Delta Species",
code: "ex11"
}
}
export default card