-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Level Grind : Rework level only first one in party (#525)
* Refactor Level grind no rotate lead strategy * Rework move dmg calculation functions * Fix bot getting stuck with confirmation window * Simplify confirmation window choices * Fix in battle indexes when switching after faint * Move no rotate lead strategy to a dedicated strategy * Fix battling party indexes * Fixing names and move damage calculation for level grind * Fixing names and move damage calculation for level grind * Do not stop when flee chance is null * Fix calls to function that no longer exists * Apply party index mapping in `handle_fainted_pokemon()` if necessary * Do not raise when Pokemon can't battle * Check if tile has encounters before displaying choices window * Rework get strongest move to not stop if no damaging moves * Simplify current battler retrieval in battling strategies * Refacto default strategy to better handle move selection * Add a fix where the bot would not go heal if the lead Pokémon was out of PP --------- Co-authored-by: Tino <[email protected]>
- Loading branch information
1 parent
1851dcb
commit 74a78da
Showing
9 changed files
with
511 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.