Releases: hsahovic/poke-env
Add Crown Tundra compatibility
This release adds Crown Tundra data and compatibility.
Minor bug fixes
This releases fixes a couple of bugs:
- Some enumeration values were missing
EnvPlayer
was unable to runplay_against
multiple times
Add isle of armor compatibility
This release brings poke-env
up to date with showdown's post-isle of armor release state.
Minor bug fixes
This release introduces a couple of minor bugfixes:
- In showdown team parsing, pokemons without items caused errors as per #65
- Showdown
t:
messages could cause errors swap-boosts
messages were not correctly parsedSHP
had a couple of small quirks (#61)
Additionally, this release also adds raw stats utilities contributed by @dmizr (#54).
Minor bug fix in `Pokemon.damage_multiplier` and misc changes
This releases fixes a bug arising when special moves (eg. recharge) are used in Pokemon.damage_multiplier
by introducing a default returned value of 1 when the argument move has no type.
Other changes:
RandomPlayer
can be found inpoke_env.player.baselines
as well aspoke_env.player.random_player
.- Add
choose_default_move
method toPlayer
. - An infinite battle loop could arose with baseline players in very specific situations related to ditto. A fail-safe mechanism has been introduced to evade them: when specific errors are encountered in a battle, the selected move has a small chance of being showdown's default order.
Add `player_evaluation` function, baseline players and helper methods
This release introduces the evaluate_player
function, two baseline players (MaxBaseDamagePlayer
and SimpleHeuristicsPlayer
) and several helper methods (notably Player.damage_multiplier
and Player.battle_against
).
Add laddering utility
This release adds the ladder
method to Player
objects, which allow them to search and play games directly on a showdown server's ladder.
Battle
objects also now include rating
and opponent_rating
attributes.
Add default options for `Player` instances
This release introduces default options for Player
instances:
- By default, the player configuration is automatically populated with a unique username designed to work on authentication-less showdown servers
- By default, the server configuration points to the default localhost server
- By default, the Player plays gen8randombattles
- The documentation is updated accordingly
Minor performance optimizations
This update introduces minor performance optimizations (15% to 30% reduced runtime on RandomPlayer
battles) and new Effects
.
Add gen 8 support
Version 0.3.0
includes support for gen 8 single mechanics, including dynamax and gigantamax. It also fixes some minor errors.