pokemon-io-core 0.0.97 → 0.0.99
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.
- package/dist/api/battle.d.ts +3 -2
- package/dist/api/socketTypes.d.ts +10 -0
- package/dist/core/battleState.d.ts +7 -1
- package/dist/core/emotes.d.ts +13 -0
- package/dist/core/emotes.js +127 -0
- package/dist/core/events.d.ts +10 -4
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/core/moves.d.ts +5 -0
- package/dist/engine/actions/move.js +76 -8
- package/dist/engine/combat/damage.js +12 -1
- package/dist/engine/effects/applyEffects.js +3 -0
- package/dist/engine/fighters/fighter.js +10 -0
- package/dist/engine/status/apply.js +3 -0
- package/dist/engine/status/endOfTurn.js +20 -3
- package/dist/engine/turn/resolveTurn.js +73 -12
- package/dist/skins/pokemon/items.js +62 -4
- package/dist/skins/pokemon/moves.js +212 -580
- package/dist/skins/pokemon/statuses.js +22 -53
- package/package.json +1 -1
|
@@ -43,7 +43,6 @@ export const POKEMON_ITEMS = [
|
|
|
43
43
|
maxUses: 2,
|
|
44
44
|
effects: [
|
|
45
45
|
{ kind: "damage", flatAmount: 15 },
|
|
46
|
-
{ kind: "apply_status", statusId: "burn" },
|
|
47
46
|
],
|
|
48
47
|
image: "shotgun",
|
|
49
48
|
},
|
|
@@ -55,7 +54,6 @@ export const POKEMON_ITEMS = [
|
|
|
55
54
|
maxUses: 4,
|
|
56
55
|
effects: [
|
|
57
56
|
{ kind: "damage", flatAmount: 8 },
|
|
58
|
-
{ kind: "apply_status", statusId: "burn" },
|
|
59
57
|
],
|
|
60
58
|
image: "pistol",
|
|
61
59
|
},
|
|
@@ -67,7 +65,6 @@ export const POKEMON_ITEMS = [
|
|
|
67
65
|
maxUses: 3,
|
|
68
66
|
effects: [
|
|
69
67
|
{ kind: "damage", flatAmount: 10 },
|
|
70
|
-
{ kind: "apply_status", statusId: "burn" },
|
|
71
68
|
],
|
|
72
69
|
image: "riffle",
|
|
73
70
|
},
|
|
@@ -79,7 +76,6 @@ export const POKEMON_ITEMS = [
|
|
|
79
76
|
maxUses: 1,
|
|
80
77
|
effects: [
|
|
81
78
|
{ kind: "damage", flatAmount: 30 },
|
|
82
|
-
{ kind: "apply_status", statusId: "burn" },
|
|
83
79
|
],
|
|
84
80
|
image: "sniper",
|
|
85
81
|
},
|
|
@@ -140,4 +136,66 @@ export const POKEMON_ITEMS = [
|
|
|
140
136
|
],
|
|
141
137
|
image: "green-berry",
|
|
142
138
|
},
|
|
139
|
+
{
|
|
140
|
+
id: "attack_potion",
|
|
141
|
+
name: "Poción Ofensiva",
|
|
142
|
+
category: "status_buff",
|
|
143
|
+
maxUses: 2,
|
|
144
|
+
target: "self",
|
|
145
|
+
effects: [
|
|
146
|
+
{ kind: "heal", amount: 30 },
|
|
147
|
+
{ kind: "modify_stats", target: "self", offenseDelta: 1 },
|
|
148
|
+
],
|
|
149
|
+
image: "potion_red", // Placeholder
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: "defense_potion",
|
|
153
|
+
name: "Poción Defensiva",
|
|
154
|
+
category: "status_buff",
|
|
155
|
+
maxUses: 2,
|
|
156
|
+
target: "self",
|
|
157
|
+
effects: [
|
|
158
|
+
{ kind: "heal", amount: 30 },
|
|
159
|
+
{ kind: "modify_stats", target: "self", defenseDelta: 1 },
|
|
160
|
+
],
|
|
161
|
+
image: "potion_blue", // Placeholder
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
id: "speed_elixir",
|
|
165
|
+
name: "Elixir de Velocidad",
|
|
166
|
+
category: "status_buff",
|
|
167
|
+
maxUses: 2,
|
|
168
|
+
target: "self",
|
|
169
|
+
effects: [
|
|
170
|
+
{ kind: "heal", amount: 30 },
|
|
171
|
+
{ kind: "modify_stats", target: "self", speedDelta: 1 },
|
|
172
|
+
],
|
|
173
|
+
image: "potion_yellow", // Placeholder
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
id: "crit_injection",
|
|
177
|
+
name: "Inyección Crítica",
|
|
178
|
+
category: "status_buff",
|
|
179
|
+
maxUses: 2,
|
|
180
|
+
target: "self",
|
|
181
|
+
effects: [
|
|
182
|
+
{ kind: "heal", amount: 30 },
|
|
183
|
+
{ kind: "modify_crit_chance", target: "self", delta: 1 },
|
|
184
|
+
],
|
|
185
|
+
image: "potion_purple", // Placeholder
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
id: "chesto_berry",
|
|
189
|
+
name: "Baya Atania",
|
|
190
|
+
category: "status_buff",
|
|
191
|
+
maxUses: 1,
|
|
192
|
+
target: "self",
|
|
193
|
+
effects: [
|
|
194
|
+
{
|
|
195
|
+
kind: "clear_status",
|
|
196
|
+
statusIds: ["sleep"],
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
image: "chesto-berry", // Placeholder
|
|
200
|
+
},
|
|
143
201
|
];
|