Skip to content

Releases: hsahovic/poke-env

Add generation specific data files

25 Apr 23:44
Compare
Choose a tag to compare

Previous version of poke-env used the same data files for every generation. This led to incorrect data being used for older formats.
This release adds gen specific move and pokedex files, for gens 4 to 8.
It also add a handler for message and -message battle messages.

Add dynamax moves and `_UNKNOWN` enums

17 Apr 00:04
Compare
Choose a tag to compare
  • Add dynamax moves
  • Add multiple effects
  • Better handling of illusion and zoroark / zoroa / ditto
  • Multiple misc bug fixes

Add compatibility with unknown enum values

05 Apr 01:00
Compare
Choose a tag to compare
  • Add _UNKNOWN enum values for several poke-env Enum classes
  • Add custom PS_ERROR log level (level 25)

Minor bug fixes

01 Apr 02:01
Compare
Choose a tag to compare

This release introduces two minor bug fixes:

  • REFLECT was added to effects, as it is used as such in gen 1 by pokemon showdown
  • A typo in Pokemon._start_effect was preventing some effects from being tracked correctly

Add counters and misc improvements

27 Feb 01:41
Compare
Choose a tag to compare
  • Add dynamax parsing / generation in teambuilder submodule
  • Switch pokemon-showdown recommended version from custom fork to smogon master with custom CLI flags
  • Add Effect counters
  • Add Weather counters
  • Add Field counters
  • Add first turn per pokemon tracking
  • Add status counters
  • Parse cant messages
  • Add sets of special Effects and Moves and matching properties in their respective classes

Misc bug fixes:

  • Fix a rare issue in vgc hp parsing where a g character can appear in hp update information
  • Add CELEBRATE and G_MAX_CHI_STRIKE effect
  • Metronome battles are now double battles
  • Add dedicated powerherb and sky drop dedicated cases for battle state tracking

Count battle side conditions

24 Dec 02:52
Compare
Choose a tag to compare

This release transforms the way side conditions are tracked in Battle objects: instead of being represented as a set of SideCondition objects, aide conditions are now dict mapping SideCondition to ints.

Add an option to start the timer at the start of each battle

24 Dec 02:04
Compare
Choose a tag to compare

This release adds an init option to each Player class: start_timer_on_battle_start. Setting it to True will make the player request the timer at the start of each battle.

Add preliminary gen 4, 5 and 6 support

22 Dec 01:04
Compare
Choose a tag to compare

This release introduces preliminary gen 4, 5 and 6 support. It introduces and / or adapts missing mechanisms and showdown quirks that are specific to these past gens. Additionally, it:

  • Adds Gen4EnvSinglePlayer, Gen5EnvSinglePlayer and Gen6EnvSinglePlayer classes
  • Adds defaults battle formats for EnvPlayer children classes. In particular, GenXEnvSinglePlayer now automatically defaults to genXrandombattles. EnvPlayer defaults to gen8randombattles.
  • Fixes misc issues in Effect names.

Misc bug fix

16 Dec 22:18
Compare
Choose a tag to compare

This releases adapts to updates in showdown's protocol and introduces a more tolerant system for dealing with unrecognized showdown messages (ie. log a warning instead of raising an exception).

Misc effects

01 Dec 01:20
Compare
Choose a tag to compare

This release adds Enum values in poke_env.environment.effect.Effect.