• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

[Scripting Question] How can I write an ability that ignores immunity and resists when using moves with certain flags?

1,682
Posts
8
Years
    • Seen yesterday
    Sounds like you want to look into how Scrappy works. Your edit belongs in def pbCalcTypeModSingle. Since this method is in a Battle::Move class, you can check with self.soundMove? or similar for other flags, or define a new method for a new flag if so you need.
     
    24
    Posts
    1
    Years
    • Seen today
    Sounds like you want to look into how Scrappy works. Your edit belongs in def pbCalcTypeModSingle. Since this method is in a Battle::Move class, you can check with self.soundMove? or similar for other flags, or define a new method for a new flag if so you need.
    self. is the only thing that confused me.Thx.
     
    Back
    Top