Commit Graph

20 Commits

Author SHA1 Message Date
Maruno17
a4d74a9663 Resolved all remaining TODO comments for AI (except testing), fixed effects of moves that can end the battle 2023-05-13 22:49:09 +01:00
Maruno17
7a8754c425 Waged war against TODO comments in the AI, some refactoring of AI 2023-05-07 23:12:39 +01:00
Maruno17
ce549ab62a Rewrote AI item usage (inc. adding Revives), various fixes/changes to AI, removed Struggle from PBS files, some bug fixes 2023-04-23 17:52:39 +01:00
Maruno17
0bb0fb4a26 Rewrote various AI switching checks 2023-03-25 23:26:34 +00:00
Maruno17
0e4053f837 Tackling of various AI "TODO" comments, a little tidying 2023-02-17 21:36:08 +00:00
Maruno17
81d069eef1 Refactored AI switching code, added "UsePokemonInOrder" skill flag 2023-02-14 16:40:52 +00:00
Maruno17
a8e024eb3e Some rearranging of AI script files/methods 2023-02-10 21:47:04 +00:00
Maruno17
2627d68782 Added more debug logging to AI, fixed some bugs in AI 2023-01-16 19:29:28 +00:00
Maruno17
3408b038cf Split AI move handlers into general ones and ones per target, rearranged some main move-scoring code 2022-10-30 15:25:46 +00:00
Maruno17
eecb7a1453 Added script to make two random AI trainers battle, tweaked battle messages when logged, fixed typos 2022-09-06 22:57:51 +01:00
Maruno17
db215a71d6 Fixed AI accuracy calculation for OHKO moves, reviewed more AI function code score modifiers 2022-09-02 21:36:31 +01:00
Maruno17
931a47c5fe Rewrote AI calculations for move effects relating to the user fainting 2022-08-30 18:33:31 +01:00
Maruno17
22dce593e8 Split AI general move score modifiers into handlers 2022-08-29 15:59:22 +01:00
Maruno17
265897f9e1 Made AI function code-specific MoveFailureCheck handlers 2022-08-27 20:11:01 +01:00
Maruno17
b6c84fa278 Added AI handlers that calculate a move's base power, moved AI damage calculation 2022-08-25 19:16:21 +01:00
Maruno17
cfb870c944 Added AI objects for trainers, battlers and the move being assessed, logging battle messages now also echoes them to the console 2022-08-22 21:37:33 +01:00
Maruno17
b094a2fd8e Reapplied various AI changes from previous atempt at improving the AI, split function code move score changes into handlers 2022-08-21 15:59:49 +01:00
Maruno17
d17fc40a47 Added decent spacing to all scripts thanks to Rubocop 2021-12-18 15:25:40 +00:00
Maruno17
5dc64f1709 Minor refactoring to kill various Rubocop warnings 2021-12-17 20:29:47 +00:00
Maruno17
1c4819e5f0 Renamed all battle-related classes and modules 2021-11-16 23:05:16 +00:00