pokemon-io-core 0.0.103 → 0.0.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,7 @@ export interface RandomEventDefinition {
20
20
  id: string;
21
21
  name: string;
22
22
  description: string;
23
- narration?: string[];
23
+ narration: string[];
24
24
  rarity: EventRarity;
25
25
  imageUrl?: string;
26
26
  effects: RandomEventEffect[];
@@ -41,6 +41,7 @@ export const CORE_RANDOM_EVENTS = [
41
41
  id: "adrenaline_rush",
42
42
  name: "⚡ Adrenalina",
43
43
  description: "Una inyección de adrenalina aumenta la velocidad de ambos.",
44
+ narration: ["¡La adrenalina se dispara!", "¡Ambos luchadores se mueven más rápido!"],
44
45
  rarity: "common",
45
46
  effects: [
46
47
  {
@@ -55,6 +56,7 @@ export const CORE_RANDOM_EVENTS = [
55
56
  id: "intimidation",
56
57
  name: "😨 Intimidación Mutua",
57
58
  description: "Ambos luchadores se sienten intimidados.",
59
+ narration: ["El ambiente se tensa...", "¡Ambos luchadores dudan por un momento!"],
58
60
  rarity: "common",
59
61
  effects: [
60
62
  {
@@ -93,6 +95,7 @@ export const CORE_RANDOM_EVENTS = [
93
95
  id: "meteor_shower",
94
96
  name: "☄️ Lluvia de Meteoritos",
95
97
  description: "¡Meteoritos caen del cielo dañando a ambos!",
98
+ narration: ["¡El cielo se oscurece!", "¡UNA LLUVIA DE METEORITOS CAE SOBRE LA ARENA!"],
96
99
  rarity: "rare",
97
100
  effects: [
98
101
  {
@@ -106,6 +109,7 @@ export const CORE_RANDOM_EVENTS = [
106
109
  id: "lucky_charm",
107
110
  name: "🍀 Amuleto de la Suerte",
108
111
  description: "Un luchador aleatorio se siente afortunado.",
112
+ narration: ["¡Algo brilla en el suelo!", "¡Un luchador ha encontrado un amuleto de la suerte!"],
109
113
  rarity: "rare",
110
114
  effects: [
111
115
  {
@@ -121,6 +125,7 @@ export const CORE_RANDOM_EVENTS = [
121
125
  id: "casino",
122
126
  name: "🎰 Casino",
123
127
  description: "Una ruleta aparece. La suerte está echada.",
128
+ narration: ["🎰 ¡ES HORA DE APOSTAR!", "¡Aparece una ruleta gigante en el campo!"],
124
129
  rarity: "epic",
125
130
  effects: [
126
131
  {
@@ -147,6 +152,7 @@ export const CORE_RANDOM_EVENTS = [
147
152
  id: "reset_button",
148
153
  name: "🔄 Botón de Reinicio",
149
154
  description: "Todas las estadísticas vuelven a la normalidad.",
155
+ narration: ["¡Alguien ha pulsado un botón misterioso!", "¡Todo vuelve a ser como al principio!"],
150
156
  rarity: "epic",
151
157
  effects: [
152
158
  {
@@ -166,6 +172,7 @@ export const POKEMON_RANDOM_EVENTS = [
166
172
  id: "pokemon_center",
167
173
  name: "🏥 Centro Pokémon Móvil",
168
174
  description: "Una enfermera Joy aparece y cura a ambos Pokémon.",
175
+ narration: ["¡Suena una música familiar!", "¡La Enfermera Joy ha venido a ayudar!"],
169
176
  rarity: "common",
170
177
  effects: [
171
178
  {
@@ -179,6 +186,7 @@ export const POKEMON_RANDOM_EVENTS = [
179
186
  id: "team_rocket",
180
187
  name: "🚀 ¡Equipo Rocket!",
181
188
  description: "¡Preparaos para los problemas! El ataque de ambos baja.",
189
+ narration: ["¡Prepárense para los problemas!", "¡Y más vale que teman!"],
182
190
  rarity: "common",
183
191
  effects: [
184
192
  {
@@ -193,6 +201,7 @@ export const POKEMON_RANDOM_EVENTS = [
193
201
  id: "rare_candy",
194
202
  name: "🍬 Caramelo Raro",
195
203
  description: "Un Pokémon aleatorio encuentra un caramelo y se fortalece.",
204
+ narration: ["¡Un objeto brillante aparece!", "¡Es un Caramelo Raro!"],
196
205
  rarity: "common",
197
206
  effects: [
198
207
  {
@@ -214,6 +223,7 @@ export const POKEMON_RANDOM_EVENTS = [
214
223
  id: "sandstorm",
215
224
  name: "🌪️ Tormenta de Arena",
216
225
  description: "Una tormenta de arena daña a todos los Pokémon.",
226
+ narration: ["¡El viento empieza a soplar con fuerza!", "¡Una tormenta de arena azota el combate!"],
217
227
  rarity: "rare",
218
228
  effects: [
219
229
  {
@@ -227,6 +237,7 @@ export const POKEMON_RANDOM_EVENTS = [
227
237
  id: "professor_oak",
228
238
  name: "👴 Profesor Oak",
229
239
  description: "¡El Profesor Oak anima a tu Pokémon!",
240
+ narration: ["¡Un mensaje del laboratorio!", "¡El Profesor Oak envía sus ánimos!"],
230
241
  rarity: "rare",
231
242
  effects: [
232
243
  {
@@ -247,6 +258,7 @@ export const POKEMON_RANDOM_EVENTS = [
247
258
  id: "dawn_stone",
248
259
  name: "💎 Piedra Alba",
249
260
  description: "Una piedra evolutiva aumenta la defensa de un Pokémon.",
261
+ narration: ["¡Una extraña piedra emite luz!", "¡El poder de la Piedra Alba se manifiesta!"],
250
262
  rarity: "rare",
251
263
  effects: [
252
264
  {
@@ -261,6 +273,7 @@ export const POKEMON_RANDOM_EVENTS = [
261
273
  id: "potion_spray",
262
274
  name: "💊 Lluvia de Pociones",
263
275
  description: "Pociones caen del cielo curando a ambos Pokémon.",
276
+ narration: ["¡Empieza a llover... ¿medicina?!", "¡Una lluvia de pociones cubre el estadio!"],
264
277
  rarity: "rare",
265
278
  effects: [
266
279
  {
@@ -275,6 +288,7 @@ export const POKEMON_RANDOM_EVENTS = [
275
288
  id: "legendary_appearance",
276
289
  name: "✨ Aparición Legendaria",
277
290
  description: "Un Pokémon legendario otorga poder a un luchador aleatorio.",
291
+ narration: ["¡UNA PRESENCIA ABRUMADORA SE SIENTE!", "¡Un Pokémon Legendario observa el combate!"],
278
292
  rarity: "epic",
279
293
  effects: [
280
294
  {
@@ -301,6 +315,7 @@ export const POKEMON_RANDOM_EVENTS = [
301
315
  id: "max_revive",
302
316
  name: "⚡ Revivir Máximo",
303
317
  description: "El Pokémon con menos vida recupera un 30% de HP.",
318
+ narration: ["¡Un cristal amarillo brilla con intensidad!", "¡El poder del Revivir Máximo restaura la energía!"],
304
319
  rarity: "epic",
305
320
  effects: [
306
321
  {
@@ -282,7 +282,7 @@ export const resolveTurn = (state, actions) => {
282
282
  const randomEvent = selectRandomEvent(availableEvents);
283
283
  // Emit banner event
284
284
  events.push({
285
- ...createBaseEvent(currentState.turnNumber, "random_event_triggered", randomEvent.description),
285
+ ...createBaseEvent(currentState.turnNumber, "random_event_triggered", randomEvent.name),
286
286
  eventId: randomEvent.id,
287
287
  eventName: randomEvent.name,
288
288
  eventDescription: randomEvent.description,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokemon-io-core",
3
- "version": "0.0.103",
3
+ "version": "0.0.105",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",