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
b8e9251fb4
More splitting of AI_Move_EffectScores
2022-06-15 19:23:52 +01:00
Maruno17
62b964adfa
Split script section AI_Move_EffectScores in two and rearranged it
2022-06-15 19:15:03 +01:00
Keyacom
2ba2893869
Fixed Grav Apple having the incorrect damage boost ( #179 )
...
* Fixed Grav Apple having the incorrect damage boost
In the official games, Grav Apple has a damage boost of 1.5x under Gravity, not 2x. This has been fixed.
* Updated move effect class name
* Apply updated function code
* Update moves.txt
2022-05-29 23:01:34 +01:00
Maruno17
5fb8218098
Fixed type-boosting Gems being consumed when they shouldn't, fixed compiler error relating to replacing battle-starting methods
2022-05-19 13:42:21 +01:00
Maruno17
3a4339c658
AI now checks for immunities to status moves
2022-03-28 18:04:45 +01:00
Maruno17
81578ac42c
AI now doesn't use Full Restores just to heal small amounts of HP
2022-03-26 15:12:32 +00:00
Maruno17
f68e699cc9
More Rubocop changes
2022-02-13 00:57:54 +00:00
Maruno17
cca5989746
Fixes to previous commit
2022-02-10 08:33:45 +00:00
Maruno17
b550ad9c07
Fixed AI scores calculated for some moves not being added up properly
2022-01-13 23:28:00 +00:00
Maruno17
aa643a6049
More Rubocop
2021-12-27 00:26:45 +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
33781493f4
More aligning of code
2021-12-19 12:19:08 +00:00
Maruno17
13a238cc6a
Many more Rubocop-inspired code improvements
2021-12-18 19:06:22 +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
2480ab0f9e
Applied most Rubocop-suggested layout fixes
2021-12-18 01:56:10 +00:00
Maruno17
5dc64f1709
Minor refactoring to kill various Rubocop warnings
2021-12-17 20:29:47 +00:00
Maruno17
00c2df5772
Merged species Type1/Type2 into Types, did the same for Pokemon and Battler
2021-11-22 23:55:28 +00:00
Maruno17
048a18b415
Refactored ability/item/ball battle handlers, added "UltraBeast" species flag for Beast Ball
2021-11-18 22:52:19 +00:00
Maruno17
7ec8f30f0e
Some battle method refactoring, fixed typo
2021-11-17 20:40:19 +00:00
Maruno17
1c4819e5f0
Renamed all battle-related classes and modules
2021-11-16 23:05:16 +00:00