Skip to content

Commit

Permalink
feat: Add Prismatic Evolutions (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviortheking authored Jan 18, 2025
1 parent 33232f1 commit a33629e
Show file tree
Hide file tree
Showing 184 changed files with 10,120 additions and 9 deletions.
17 changes: 10 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,31 @@ FROM docker.io/oven/bun:1-alpine AS build
WORKDIR /usr/src/app

# Add git as it is used to fetch updated times
RUN apk add git &&\
git config --global safe.directory '*'
RUN apk add git\
&& git config --global safe.directory '*'\
&& chown -R bun:bun .

USER bun

ADD --chown=bun:bun package.json bun.lockb ./
ADD --chown=bun:bun server/package.json server/bun.lockb ./server/

# install dependencies
RUN bun install --frozen-lockfile && \
cd server && \
bun install --frozen-lockfile
cd server && \
bun install --frozen-lockfile

# Add project files
ADD --chown=bun:bun . .

# build
RUN cd server && \
bun run compile
bun run compile

# remove dev dependencies (bun do not yet support "prune")
RUN cd server && \
rm -rf node_modules && \
bun install --frozen-install --production
rm -rf node_modules && \
bun install --frozen-install --production

# go to another VM
FROM docker.io/oven/bun:1-alpine AS prod
Expand Down
29 changes: 29 additions & 0 deletions data/Scarlet & Violet/Prismatic Evolutions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { Set } from '../../interfaces'
import serie from '../Scarlet & Violet'

const set: Set = {
id: "sv08.5",

name: {
de: "Prismatische Entwicklungen",
en: "Prismatic Evolutions",
es: "Evolucionnes Prismáticas",
fr: "Évolutions Prismatiques",
it: "Evoluzioni Prismatiche",
pt: "Evoluções Prismáticas"
},

serie: serie,

cardCount: {
official: 131
},

releaseDate: "2025-01-17",

abbreviations: {
official: "PRE"
}
}

export default set
41 changes: 41 additions & 0 deletions data/Scarlet & Violet/Prismatic Evolutions/001.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import { Card } from "../../../interfaces"
import Set from "../Prismatic Evolutions"

const card: Card = {
set: Set,

name: {
en: "Exeggcute",
fr: "Noeunoeuf",
es: "Exeggcute",
pt: "Exeggcute",
it: "Exeggcute",
de: "Owei"
},

rarity: "Common",
category: "Pokemon",
hp: 60,
types: ["Grass"],
stage: "Basic",

attacks: [{
cost: ["Grass", "Colorless"],

name: {
en: "Ram",
fr: "Collision",
es: "Apisonar",
pt: "Aríete",
it: "Carica",
de: "Ramme"
},

damage: 30
}],

retreat: 1,
regulationMark: "H"
}

export default card
63 changes: 63 additions & 0 deletions data/Scarlet & Violet/Prismatic Evolutions/002.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
import { Card } from "../../../interfaces"
import Set from "../Prismatic Evolutions"

const card: Card = {
set: Set,

name: {
en: "Exeggutor",
fr: "Noadkoko",
es: "Exeggutor",
pt: "Exeggutor",
it: "Exeggutor",
de: "Kokowei"
},

rarity: "Uncommon",
category: "Pokemon",
hp: 140,
types: ["Grass"],
stage: "Stage1",

attacks: [{
cost: ["Grass", "Colorless"],

name: {
en: "Mega Drain",
fr: "Méga-Sangsue",
es: "Megaagotar",
pt: "Megadreno",
it: "Megassorbimento",
de: "Megasauger"
},

effect: {
en: "Heal 30 damage from this Pokémon.",
fr: "Soignez 30 dégâts de ce Pokémon.",
es: "Cura 30 puntos de daño a este Pokémon.",
pt: "Cure 30 pontos de dano deste Pokémon.",
it: "Cura questo Pokémon da 30 danni.",
de: "Heile 30 Schadenspunkte bei diesem Pokémon."
},

damage: 50
}, {
cost: ["Grass", "Grass", "Colorless"],

name: {
en: "Solar Beam",
fr: "Lance-Soleil",
es: "Rayo Solar",
pt: "Raio Solar",
it: "Solarraggio",
de: "Solarstrahl"
},

damage: 130
}],

retreat: 3,
regulationMark: "H"
}

export default card
41 changes: 41 additions & 0 deletions data/Scarlet & Violet/Prismatic Evolutions/003.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import { Card } from "../../../interfaces"
import Set from "../Prismatic Evolutions"

const card: Card = {
set: Set,

name: {
en: "Pinsir",
fr: "Scarabrute",
es: "Pinsir",
pt: "Pinsir",
it: "Pinsir",
de: "Pinsir"
},

rarity: "Common",
category: "Pokemon",
hp: 120,
types: ["Grass"],
stage: "Basic",

attacks: [{
cost: ["Grass", "Colorless"],

name: {
en: "Slash",
fr: "Tranche",
es: "Cuchillada",
pt: "Talho",
it: "Lacerazione",
de: "Schlitzer"
},

damage: 60
}],

retreat: 2,
regulationMark: "H"
}

export default card
48 changes: 48 additions & 0 deletions data/Scarlet & Violet/Prismatic Evolutions/004.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import { Card } from "../../../interfaces"
import Set from "../Prismatic Evolutions"

const card: Card = {
set: Set,

name: {
en: "Budew",
fr: "Rozbouton",
es: "Budew",
pt: "Budew",
it: "Budew",
de: "Knospi"
},

rarity: "Common",
category: "Pokemon",
hp: 30,
types: ["Grass"],
stage: "Basic",

attacks: [{
name: {
en: "Itchy Pollen",
fr: "Pollen Démangeant",
es: "Polen Picazón",
pt: "Comichão de Pólen",
it: "Polline Urticante",
de: "Juckende Pollen"
},

effect: {
en: "During your opponent's next turn, they can't play any Item cards from their hand.",
fr: "Pendant le prochain tour de votre adversaire, il ne peut pas jouer de cartes Objet de sa main.",
es: "Durante el próximo turno de tu rival, este no puede jugar ninguna carta de Objeto de su mano.",
pt: "Durante o próximo turno do seu oponente, ele não poderá jogar nenhuma carta de Item da mão dele.",
it: "Durante il suo prossimo turno, il tuo avversario non può giocare le carte Strumento che ha in mano.",
de: "Dein Gegner kann während seines nächsten Zuges keine Itemkarten aus seiner Hand spielen."
},

damage: 10
}],

retreat: 0,
regulationMark: "H"
}

export default card
65 changes: 65 additions & 0 deletions data/Scarlet & Violet/Prismatic Evolutions/005.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
import { Card } from "../../../interfaces"
import Set from "../Prismatic Evolutions"

const card: Card = {
set: Set,

name: {
en: "Leafeon",
fr: "Phyllali",
es: "Leafeon",
pt: "Leafeon",
it: "Leafeon",
de: "Folipurba"
},

rarity: "Rare",
category: "Pokemon",
hp: 120,
types: ["Grass"],
stage: "Stage1",

attacks: [{
cost: ["Colorless"],

name: {
en: "Leaflet Blessings",
fr: "Bénédictions Folioles",
es: "Bendiciones de los Folíolos",
pt: "Bênçãos das Folhinhas",
it: "Preghiera di Foglioline",
de: "Blättchensegen"
},

effect: {
en: "Attach a Basic Grass Energy card from your hand to 1 of your Benched Pokémon. If you do, heal all damage from that Pokémon.",
fr: "Attachez une carte Énergie Grass de base de votre main à l'un de vos Pokémon de Banc. Dans ce cas, soignez tous les dégâts de ce Pokémon-là.",
es: "Une 1 carta de Energía Grass Básica de tu mano a uno de tus Pokémon en Banca. Si lo haces, cura todos los puntos de daño a ese Pokémon.",
pt: "Ligue uma carta de Energia Grass Básica da sua mão a 1 dos seus Pokémon no Banco. Se fizer isto, cure todo o dano daquele Pokémon.",
it: "Assegna a uno dei tuoi Pokémon in panchina una carta Energia base Grass dalla tua mano. Se lo fai, cura quel Pokémon da tutti i danni.",
de: "Lege 1 Basis-Grass-Energiekarte aus deiner Hand an 1 Pokémon auf deiner Bank an. Wenn du das machst, heile allen Schaden bei jenem Pokémon."
}
}, {
cost: ["Grass", "Colorless"],

name: {
en: "Solar Beam",
fr: "Lance-Soleil",
es: "Rayo Solar",
pt: "Raio Solar",
it: "Solarraggio",
de: "Solarstrahl"
},

damage: 70
}],

retreat: 1,
regulationMark: "H",
variants: {
holo: true,
normal: false
}
}

export default card
Loading

0 comments on commit a33629e

Please sign in to comment.