pokemon-io-core 0.0.20 → 0.0.22
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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { pokemonImages } from "./img/pokemons";
|
|
2
1
|
import { POKEMON_TYPE_IDS } from "./types";
|
|
3
2
|
const makeStats = (offense, defense, speed, crit) => ({
|
|
4
3
|
offense,
|
|
@@ -11,7 +10,7 @@ export const POKEMON_FIGHTERS = [
|
|
|
11
10
|
id: "pikachu",
|
|
12
11
|
name: "Pikachu",
|
|
13
12
|
description: "Rápido y agresivo, castiga con críticos frecuentes.",
|
|
14
|
-
img:
|
|
13
|
+
img: 'pikachu',
|
|
15
14
|
classId: POKEMON_TYPE_IDS.electric,
|
|
16
15
|
baseStats: makeStats(55, 40, 90, 15),
|
|
17
16
|
recommendedMoves: ["tackle", "thunder_shock"]
|
|
@@ -20,7 +19,7 @@ export const POKEMON_FIGHTERS = [
|
|
|
20
19
|
id: "charizard",
|
|
21
20
|
name: "Charizard",
|
|
22
21
|
description: "Burst de fuego muy alto, algo frágil.",
|
|
23
|
-
img:
|
|
22
|
+
img: 'charizard',
|
|
24
23
|
classId: POKEMON_TYPE_IDS.fire,
|
|
25
24
|
baseStats: makeStats(84, 78, 100, 10),
|
|
26
25
|
recommendedMoves: ["tackle", "ember"]
|
|
@@ -29,7 +28,7 @@ export const POKEMON_FIGHTERS = [
|
|
|
29
28
|
id: "blastoise",
|
|
30
29
|
name: "Blastoise",
|
|
31
30
|
description: "Tanque defensivo con presión constante de agua.",
|
|
32
|
-
img:
|
|
31
|
+
img: 'blastoise',
|
|
33
32
|
classId: POKEMON_TYPE_IDS.water,
|
|
34
33
|
baseStats: makeStats(83, 100, 78, 8),
|
|
35
34
|
recommendedMoves: ["tackle", "water_gun"]
|
|
@@ -38,7 +37,7 @@ export const POKEMON_FIGHTERS = [
|
|
|
38
37
|
id: "venusaur",
|
|
39
38
|
name: "Venusaur",
|
|
40
39
|
description: "Juego de desgaste con grandes golpes de hierba.",
|
|
41
|
-
img:
|
|
40
|
+
img: 'venusaur',
|
|
42
41
|
classId: POKEMON_TYPE_IDS.grass,
|
|
43
42
|
baseStats: makeStats(82, 83, 80, 8),
|
|
44
43
|
recommendedMoves: ["tackle", "vine_whip"]
|
|
@@ -47,7 +46,7 @@ export const POKEMON_FIGHTERS = [
|
|
|
47
46
|
id: "mew",
|
|
48
47
|
name: "Mew",
|
|
49
48
|
description: "Juego de desgaste con grandes golpes de hierba.",
|
|
50
|
-
img:
|
|
49
|
+
img: 'mew',
|
|
51
50
|
classId: POKEMON_TYPE_IDS.psychic,
|
|
52
51
|
baseStats: makeStats(82, 83, 80, 8),
|
|
53
52
|
recommendedMoves: ["tackle", "vine_whip"]
|
|
@@ -56,7 +55,7 @@ export const POKEMON_FIGHTERS = [
|
|
|
56
55
|
id: "groudon",
|
|
57
56
|
name: "Groudon",
|
|
58
57
|
description: "Juego de desgaste con grandes golpes de hierba.",
|
|
59
|
-
img:
|
|
58
|
+
img: 'groudon',
|
|
60
59
|
classId: POKEMON_TYPE_IDS.rock,
|
|
61
60
|
baseStats: makeStats(82, 83, 80, 8),
|
|
62
61
|
recommendedMoves: ["tackle", "vine_whip"]
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { itemsImages } from "./img/items";
|
|
2
1
|
export const POKEMON_ITEMS = [
|
|
3
2
|
{
|
|
4
3
|
id: "potion",
|
|
@@ -6,7 +5,7 @@ export const POKEMON_ITEMS = [
|
|
|
6
5
|
category: "heal_shield",
|
|
7
6
|
maxUses: 2,
|
|
8
7
|
effects: [{ kind: "heal", amount: 30 }],
|
|
9
|
-
image:
|
|
8
|
+
image: 'antidote',
|
|
10
9
|
},
|
|
11
10
|
{
|
|
12
11
|
id: "super_potion",
|
|
@@ -14,7 +13,7 @@ export const POKEMON_ITEMS = [
|
|
|
14
13
|
category: "heal_shield",
|
|
15
14
|
maxUses: 1,
|
|
16
15
|
effects: [{ kind: "heal", amount: 60 }],
|
|
17
|
-
image:
|
|
16
|
+
image: 'hiper-potion',
|
|
18
17
|
},
|
|
19
18
|
{
|
|
20
19
|
id: "apple",
|
|
@@ -22,7 +21,7 @@ export const POKEMON_ITEMS = [
|
|
|
22
21
|
category: "heal_shield",
|
|
23
22
|
maxUses: 3,
|
|
24
23
|
effects: [{ kind: "heal", amount: 60 }],
|
|
25
|
-
image:
|
|
24
|
+
image: 'fancy-apple',
|
|
26
25
|
},
|
|
27
26
|
{
|
|
28
27
|
id: "mushroom",
|
|
@@ -30,7 +29,7 @@ export const POKEMON_ITEMS = [
|
|
|
30
29
|
category: "heal_shield",
|
|
31
30
|
maxUses: 3,
|
|
32
31
|
effects: [{ kind: "heal", amount: 60 }],
|
|
33
|
-
image:
|
|
32
|
+
image: 'mushroom',
|
|
34
33
|
},
|
|
35
34
|
{
|
|
36
35
|
id: "yellow-dust",
|
|
@@ -38,7 +37,7 @@ export const POKEMON_ITEMS = [
|
|
|
38
37
|
category: "heal_shield",
|
|
39
38
|
maxUses: 3,
|
|
40
39
|
effects: [{ kind: "heal", amount: 60 }],
|
|
41
|
-
image:
|
|
40
|
+
image: 'fire-stone',
|
|
42
41
|
},
|
|
43
42
|
{
|
|
44
43
|
id: "burn_bomb",
|
|
@@ -49,6 +48,6 @@ export const POKEMON_ITEMS = [
|
|
|
49
48
|
{ kind: "damage", amount: 20 },
|
|
50
49
|
{ kind: "apply_status", statusId: "burn" },
|
|
51
50
|
],
|
|
52
|
-
image:
|
|
51
|
+
image: 'hiper-potion',
|
|
53
52
|
},
|
|
54
53
|
];
|