Maruno17/pokemon-essentials

Powder moves

Closed this issue · 1 comments

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?

def pbGetMoveScore(move,user,target,skill=100)

Fixed.