pokemon-io-core 0.0.109 → 0.0.111

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.
@@ -158,6 +158,9 @@ export const resolveDamageMove = (state, playerKey, action) => {
158
158
  effectiveness,
159
159
  defenderBeforeHp: opponent.currentHp,
160
160
  });
161
+ // Events are pushed in order:
162
+ // 1. Move Hit (summary: critical/effective)
163
+ // 2. Effects (damage, recoil, status...)
161
164
  events.push({
162
165
  ...createBaseEvent(state.turnNumber, "move_hit", `${self.fighterId} acierta ${move.name}`),
163
166
  actorId: self.fighterId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokemon-io-core",
3
- "version": "0.0.109",
3
+ "version": "0.0.111",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",