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

96 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-26",
localId: 26,
// Card informations
name: {
en: "Gyarados",
},
hp: 120,
type: [
Type.WATER,
],
dexId: 130,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp2/26/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp2/26/high",
},
},
evolveFrom: {
en: "Magikarp",
},
tags: [
Tag.STAGE1,
],
illustrator: "Mitsuhiro Arita",
abilities: [{
id: 532,
type: AbilityType.POKEBODY,
name: {
en: "Dragon DNA",
},
text: {
en: "Gyarados can use any attack from its Basic Pokémon. (You still have to pay for that attack's Energy cost.) If Gyarados uses any attack from its Basic Pokémon, that attack does 30 more damage to the Active Pokémon (before applying Weakness and Resistance).",
}
}],
attacks: [{
cost: [
Type.WATER,
Type.WATER,
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Enrage",
},
text: {
en: "Flip a coin until you get tails. For each heads, choose 1 card from your opponent's hand without looking and discard it. If the first coin is tails, Gyarados is now Confused.",
},
damage: 80
}],
weaknesses: [{
type: Type.LIGHTNING,
value: "+30"
}],
resistances: [{
type: Type.FIGHTING,
value: "-20"
}],
rarity: Rarity.RARE,
category: Category.POKEMON,
set: {
name: "Mysterious Treasures",
code: "dp2"
}
}
export default card