Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
I'm trying to make a move that heals the user and increases its accuracy and evasion. So, I'm trying to combine the functions of recover and a move I already made which increases accuracy and evasion. So the function looks like this:
class PokeBattle_Move_161 < PokeBattle_Move
def...
I figured this out. I did it by changing this
if typemod==0
opponent.damagestate.calcdamage=0
opponent.damagestate.critical=false
to this
if typemod<8
opponent.damagestate.calcdamage=0
opponent.damagestate.critical=false
in PokeBattle_Move.
So normally super effective moves do 2x damage and not very effective moves do 0.5x, but how could I change that multiplier? Like, what I want to do is make all not very effective moves do no damage, but I don't want to change them all into immunities because that would make pokemon with 2 types...
I know this post is old now, but I'm wondering if doing this multiple times would let me add more than 3 types (Except for the summary screen, that doesn't really matter). Like for example, could I use this to make a Pokemon that has every type?