hsahovic / poke-env

A python interface for training Reinforcement Learning bots to battle on pokemon showdown
https://poke-env.readthedocs.io/
MIT License
293 stars 98 forks source link

Generating Showdown Targets in Doubles #541

Closed caymansimpson closed 4 months ago

caymansimpson commented 4 months ago

I created this bug -- the checks in this line should also include "Target.ADJACENT_FOE" to support Dynamax in Gen8 (ADJACENT_FOE is a TargetType exclusive to Gen8, so Gen9 is unaffected)

https://github.com/hsahovic/poke-env/blob/964de9b4ea1e36e47551577d8764499f0ff2fc17/src/poke_env/environment/double_battle.py#L369

caymansimpson commented 4 months ago

Closed with PR