pokemon-io-core 0.0.30 → 0.0.32

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.
@@ -7,7 +7,7 @@ export declare class PokemonSkin implements CombatSkin {
7
7
  getMoves(): MoveDefinition[];
8
8
  getItems(): ItemDefinition[];
9
9
  getAmulets(): never[];
10
- getStatuses(): never[];
10
+ getStatuses(): import("../..").StatusDefinition[];
11
11
  buildPlayerConfig(loadout: FighterLoadout): PlayerBattleConfig;
12
12
  }
13
13
  export declare const createPokemonSkin: () => CombatSkin;
@@ -1,5 +1,5 @@
1
1
  // pokemon-io-core/src/skins/pokemon/pokemonSkin.ts
2
- import { POKEMON_TYPES, POKEMON_TYPE_MATRIX, POKEMON_MOVES, POKEMON_FIGHTERS, POKEMON_ITEMS } from "./index";
2
+ import { POKEMON_TYPES, POKEMON_TYPE_MATRIX, POKEMON_MOVES, POKEMON_FIGHTERS, POKEMON_ITEMS, POKEMON_STATUSES } from "./index";
3
3
  const MAX_HP_DEFAULT = 100;
4
4
  // --- helpers ---
5
5
  const findPokemonById = (id) => {
@@ -70,7 +70,7 @@ export class PokemonSkin {
70
70
  return []; // más adelante
71
71
  }
72
72
  getStatuses() {
73
- return []; // más adelante
73
+ return POKEMON_STATUSES; // más adelante
74
74
  }
75
75
  buildPlayerConfig(loadout) {
76
76
  if (!loadout.fighterId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokemon-io-core",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",