Releases: hsahovic/poke-env
Releases · hsahovic/poke-env
Minor bug fixes and improved env_player.reset
This release adds:
- handling of
-swapsideconditions
messages log.info
/log
pm messages instead oflog.warning
them- Fix hidden power
Moves
initialization - their type is now correctly inferred - Fix hanging
env_player.reset
when called before the current battle is finished env_player.complete_current_battle
now forfeits instead of performing random moves until the battle finishesenv_player.step(-1)
forfeits the battle
Add stackable conditions + minor fixes
0.4.18 Up to version 0.4.18
Fix RAM usage bug and parsing improvements
- Coroutines are no longer stored in
PlayerNetworkInterface
- this should eliminate a bug where keepingPlayer
objects around for a great number of battles lead to a monotonic increase in RAM usage - Set
Pokemon
object ability property when there's only one possibility - Better ability parsing
- Better items parsing
Better parsing and data update
- Better item and ability parsing
- Create
ForfeitBattleObject
- Misc bug fixes
- Gen 1/2/3 data storage
- Update data
Add basic support for gen 1, 2 and 3
This release lets users set gen 1, 2 and 3 formats. poke-env
will fallback to gen 4 objects and log a warning, as opposed to raising an obscure exception, as in previous versions.
Misc: removed ailogger
dependency
Add compatibility with new PS challenge system
This release makes poke-env
compatible with the new pm-based pokemon-showdown challenge system.
Misc bug fixes
- Fix a bug causing toxic counter to increment incorrectly when a Pokemon was switched out
- Fix a bug causing multiple terrains to be present in
Battle.fields
simultaneously
Add generation specific data files
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
- Add dynamax moves
- Add multiple effects
- Better handling of illusion and zoroark / zoroa / ditto
- Multiple misc bug fixes
Add compatibility with unknown enum values
- Add
_UNKNOWN
enum values for severalpoke-env
Enum
classes - Add custom
PS_ERROR
log level (level 25)