Commit Graph

15 Commits

Author SHA1 Message Date
Maruno17
8275d40193 Added Mold Breaker consideration to AI, updated some AI calculations, fixed non-ignorable abilities in damage calculation actually being ignorable 2022-08-29 22:39:06 +01:00
Maruno17
22dce593e8 Split AI general move score modifiers into handlers 2022-08-29 15:59:22 +01:00
Maruno17
9ed2f3e920 Misc tidying and commenting of AI code 2022-08-28 17:59:02 +01:00
Maruno17
fbbddc8c2b Changed AI's random move choice after scores are calculated 2022-08-27 20:37:05 +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
3a4339c658 AI now checks for immunities to status moves 2022-03-28 18:04:45 +01:00
Maruno17
b550ad9c07 Fixed AI scores calculated for some moves not being added up properly 2022-01-13 23:28:00 +00:00
Maruno17
132a16950d Yet more Rubocopping 2021-12-23 00:27:17 +00:00
Maruno17
65b1a8d6c3 More tweaks from the Rubocop overlord 2021-12-19 17:28:59 +00:00
Maruno17
d17fc40a47 Added decent spacing to all scripts thanks to Rubocop 2021-12-18 15:25:40 +00:00
Maruno17
f7b76ae62e The Great Enspacening begins! 2021-12-18 12:20:31 +00:00
Maruno17
1c4819e5f0 Renamed all battle-related classes and modules 2021-11-16 23:05:16 +00:00