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

aromatherapy choice #157

Closed Hokath closed 2 years ago

Hokath commented 2 years ago

https://github.com/Maruno17/pokemon-essentials/blob/5456459a989619c5db0ceff07caf75cc843c201e/Data/Scripts/011_Battle/004_AI/004_AI_Move.rb#L128

I noticed the AI doesn't seem to consider Aromatherapy (and Heal Bell). I think this is because this line will always turn its score negative!

Maruno17 commented 2 years ago

I've just made a commit that should patch this up. It's not perfect, but it's a bit better than it was.