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

Powder moves #176

Closed Hokath closed 2 years ago

Hokath commented 2 years ago

I noticed that (highly skilled) trainers would try to use Stun Spore on Grass types. I think this is because pbCheckMoveImmunity only runs if the move is a damaging move, and there is nowhere else where the grass immunity to powder comes up.

Perhaps the pbCheckMoveImmunity call should just happen at the start of pbGetMoveScore? https://github.com/Maruno17/pokemon-essentials/blob/5456459a989619c5db0ceff07caf75cc843c201e/Data/Scripts/011_Battle/004_AI/004_AI_Move.rb#L155

Maruno17 commented 2 years ago

Fixed.