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: "base4-84", localId: 84, // Card informations name: { en: "Onix", }, hp: 90, type: [ Type.FIGHTING, ], dexId: 95, image: { low: { en: "https://assets.tcgdex.net/en/base/base4/84/low", }, high: { en: "https://assets.tcgdex.net/en/base/base4/84/high", }, }, evolveFrom: {}, tags: [ Tag.BASIC, ], illustrator: "Ken Sugimori", attacks: [{ cost: [ Type.FIGHTING ], name: { en: "Rock Throw", }, damage: 10 },{ cost: [ Type.FIGHTING, Type.FIGHTING ], name: { en: "Harden", }, text: { en: "During opponent's next turn, whenever 30 or less damage is done to Onix (after applying Weakness and Resistance), prevent that damage. (Any other effects of attacks still happen.)", }, }], weaknesses: [{ type: Type.GRASS, value: "×2" }], rarity: Rarity.COMMON, category: Category.POKEMON, set: { name: "Base Set 2", code: "base4" } } export default card