• 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] Beast Ball Script

15
Posts
7
Years
    • Seen May 6, 2021
    Im trying to create a beast ball script and i was wondering can edit the script to a specific pokemon instead of the general type like this net ball. is it possible to change the script from bug and water types having a higher catch rate to idk buzzwole having a higher catch rate than other pokemon?

    Code:
    BallHandlers::ModifyCatchRate.add(:NETBALL,proc{|ball,catchRate,battle,battler|
       catchRate*=3 if battler.pbHasType?(:BUG) || battler.pbHasType?(:WATER)
       next catchRate
    })
     

    Diverscope

    Pardon me
    152
    Posts
    11
    Years
  • So you want the catchrate to depending on the exact Pokémon species, right? The Moonball works in this way, as it lists all pokémon who evolves with a moonstone.

    Spoiler:

    So for Buzzwole it would look like this:

    Code:
    isConst?(battler.species,PBSpecies,:BUZZWOLE)
     
    Back
    Top