keldaanCommunity / pokemonAutoChess

Pokemon Auto Chess Game. Made by fans for fans. Open source, non profit. All rights to the Pokemon Company.
https://pokemon-auto-chess.com/
GNU General Public License v3.0
1.14k stars 357 forks source link

Fix Computing of Synergies when GOLDEN_ROD is active #2219

Closed HametAk closed 1 month ago

HametAk commented 1 month ago

The current state: For example in this picture you can see Light and Electric have the same count, but only Light is the active synergy. In the code Electric is in the pool of topSynergies and therefore also fishes for electric pokemon. image

Fix: the computing of how the top synergies are calculated was changed so only ACTIVE synergies should be counted.