Maruno17 / pokemon-essentials

A heavily modified RPG Maker XP game project that makes the game play like a Pokémon game. Not a full project in itself; this repo is to be added into an existing RMXP game project.
Other
208 stars 398 forks source link

AI and other Gen 8 Effects #123

Closed Golisopod-User closed 3 years ago

Golisopod-User commented 3 years ago

Added Gen 8 effects for

Added Basic AI for Gen 8 Moves, Items and Abilities. (Move effect scores added as a separate file so that its easy to evaluate. Please merge it with the rest of the scores later)

Maruno17 commented 3 years ago

I've skimmed through this commit (except for the move effects AI stuff), and I have some remarks.

Golisopod-User commented 3 years ago
  1. I think the Iron Ball effect has something to do with Inverse Battles or some other battle gimmick that relies on type effectiveness. But it also does seem pretty minor and could be left as is
  2. I don't think it makes sense for Rattled to proc that way really, but this could be tested.
  3. I must've misunderstood what was written in the notes for Leppa Berry. I'll correct in a later PR.
  4. It gets scaled, so in your example of using Behemoth Blade once, the PP of Iron Head will go down to 12. However, I can't confirm whether the PP is 5 or 4 when Iron Head's PP is 14 (not exactly divisible by 3)
Maruno17 commented 3 years ago

It looks like you copy-pasted the AI from your Gen 8 mod straight into 007_AI_Move_EffectScores_Gen8.rb, without making sure that the function codes match up to the correct effects. As such, the AI makes no sense.

As you can see, I've made a number of edits to other things. The rest of this commit is good to go.

Golisopod-User commented 3 years ago

Whoops mb. I'll push a fix to that in a bit.

Golisopod-User commented 3 years ago

The function code changes have been made. I apologize for the inconvenience.