Commit Graph

17 Commits

Author SHA1 Message Date
Maruno17
84bdd1f60b AI function code rewrites 2023-01-12 23:08:26 +00:00
Maruno17
4585533a4a Fixes relating to added support of more Pokémon types 2022-12-31 17:43:42 +00:00
Maruno17
dd7cd414f0 Yet more AI function code rewrites 2022-12-31 15:26:41 +00:00
Maruno17
1258e4b9c9 More AI function code rewrites themed around stat changes 2022-12-25 00:39:25 +00:00
Maruno17
f33184d413 Generalised AI code for scoring stat changes 2022-12-18 20:51:16 +00:00
Maruno17
5a49bbbc94 Renamed function code UseUserBaseDefenseInsteadOfUserBaseAttack, more AI function code changes 2022-10-17 21:13:31 +01:00
Maruno17
e8703e8b05 More error fixes in AI 2022-10-16 14:53:49 +01:00
Maruno17
58a624060a Rewrote AI calculations for moves that cause confusion, flinching and infatuation 2022-10-09 18:37:19 +01:00
Maruno17
2897476d1b Rewrote AI calculations for moves that inflict a status problem 2022-10-04 21:25:58 +01:00
Maruno17
63ec037481 AI changes for some multi-hit/multi-turn moves, improved AI's damage calculation 2022-09-18 18:16:08 +01: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
d870b027db More misc AI move effect calculation rewrites 2022-09-02 00:24:56 +01:00
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
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