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: "dp1-92",
localId: 92,
// Card informations
name: {
en: "Onix",
fr: "Onix",
},
hp: 90,
type: [
Type.FIGHTING,
],
dexId: 95,
image: {
low: {
en: "https://assets.tcgdex.net/en/dp/dp1/92/low",
fr: "https://assets.tcgdex.net/fr/dp/dp1/92/low",
},
high: {
en: "https://assets.tcgdex.net/en/dp/dp1/92/high",
fr: "https://assets.tcgdex.net/fr/dp/dp1/92/high",
},
},
evolveFrom: {},
tags: [
Tag.BASIC,
],
illustrator: "Ken Sugimori",
attacks: [{
cost: [
Type.FIGHTING
],
name: {
en: "Tunneling",
fr: "Creuser un tunnel",
},
text: {
en: "Choose up to 2 of your opponent's Benched Pokémon. This attack does 10 damage to each of them. (Don't apply Weakness and Resistance for Benched Pokémon.) Onix can't attack during your next turn.",
fr: "Choisissez jusqu'à 2 des Pokémon de Banc de votre adversaire. Cette attaque inflige 10 dégâts à chacun. (Vous ne pouvez pas appliquer la Faiblesse et la Résistance au Pokémon de Banc). Onix ne peut pas attaquer lors de votre prochain tour.",
},
},{
cost: [
Type.COLORLESS,
Type.COLORLESS
],
name: {
en: "Headbutt",
fr: "Coup d'boule",
},
damage: 20
}],
weaknesses: [{
type: Type.GRASS,
value: "+20"
}],
retreat: 3,
rarity: Rarity.COMMON,
category: Category.POKEMON,
set: {
name: "Diamond & Pearl",
code: "dp1"
}
}
export default card