pokemon-io-core 0.0.96 → 0.0.98
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 +1 -4
- package/dist/core/battleState.d.ts +16 -1
- package/dist/core/events.d.ts +16 -4
- package/dist/core/moves.d.ts +5 -0
- package/dist/engine/actions/move.js +82 -9
- package/dist/engine/combat/damage.js +12 -1
- package/dist/engine/combat/stages.d.ts +5 -0
- package/dist/engine/combat/stages.js +53 -0
- package/dist/engine/effects/applyEffects.js +73 -1
- package/dist/engine/fighters/fighter.js +30 -3
- package/dist/engine/status/endOfTurn.js +13 -3
- package/dist/engine/turn/resolveTurn.js +49 -7
- package/dist/skins/pokemon/items.js +62 -0
- package/dist/skins/pokemon/moves.js +212 -550
- package/dist/skins/pokemon/statuses.js +22 -53
- package/package.json +1 -1
|
@@ -140,4 +140,66 @@ export const POKEMON_ITEMS = [
|
|
|
140
140
|
],
|
|
141
141
|
image: "green-berry",
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
id: "attack_potion",
|
|
145
|
+
name: "Poción Ofensiva",
|
|
146
|
+
category: "status_buff",
|
|
147
|
+
maxUses: 2,
|
|
148
|
+
target: "self",
|
|
149
|
+
effects: [
|
|
150
|
+
{ kind: "heal", amount: 30 },
|
|
151
|
+
{ kind: "modify_stats", target: "self", offenseDelta: 1 },
|
|
152
|
+
],
|
|
153
|
+
image: "potion_red", // Placeholder
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: "defense_potion",
|
|
157
|
+
name: "Poción Defensiva",
|
|
158
|
+
category: "status_buff",
|
|
159
|
+
maxUses: 2,
|
|
160
|
+
target: "self",
|
|
161
|
+
effects: [
|
|
162
|
+
{ kind: "heal", amount: 30 },
|
|
163
|
+
{ kind: "modify_stats", target: "self", defenseDelta: 1 },
|
|
164
|
+
],
|
|
165
|
+
image: "potion_blue", // Placeholder
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
id: "speed_elixir",
|
|
169
|
+
name: "Elixir de Velocidad",
|
|
170
|
+
category: "status_buff",
|
|
171
|
+
maxUses: 2,
|
|
172
|
+
target: "self",
|
|
173
|
+
effects: [
|
|
174
|
+
{ kind: "heal", amount: 30 },
|
|
175
|
+
{ kind: "modify_stats", target: "self", speedDelta: 1 },
|
|
176
|
+
],
|
|
177
|
+
image: "potion_yellow", // Placeholder
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
id: "crit_injection",
|
|
181
|
+
name: "Inyección Crítica",
|
|
182
|
+
category: "status_buff",
|
|
183
|
+
maxUses: 2,
|
|
184
|
+
target: "self",
|
|
185
|
+
effects: [
|
|
186
|
+
{ kind: "heal", amount: 30 },
|
|
187
|
+
{ kind: "modify_crit_chance", target: "self", delta: 1 },
|
|
188
|
+
],
|
|
189
|
+
image: "potion_purple", // Placeholder
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
id: "chesto_berry",
|
|
193
|
+
name: "Baya Atania",
|
|
194
|
+
category: "status_buff",
|
|
195
|
+
maxUses: 1,
|
|
196
|
+
target: "self",
|
|
197
|
+
effects: [
|
|
198
|
+
{
|
|
199
|
+
kind: "clear_status",
|
|
200
|
+
statusIds: ["sleep"],
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
image: "chesto-berry", // Placeholder
|
|
204
|
+
},
|
|
143
205
|
];
|