- 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
})