• 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.

[Other Question] Reapplying weather at end of round

  • 10
    Posts
    8
    Years
    • Seen Mar 12, 2023
    Trying to create a better Snow Warning ability that applies Hail at the end of the round if it isn't active. I copied the trigger of Ice Body and the ability of Snow Warning, but it just does absolutely nothing in game. I use Sunny Day to change to Sun to test it.

    Here's the code.

    Code:
    BattleHandlers::EORWeatherAbility.add(:ABOMINABLE,
      proc { |ability,weather,battler,battle|
        next unless weather == :Hail
        pbBattleWeatherAbility(:Hail, battler, battle)
      }
    )

    Any advice/comments on what I should be doing would be welcome! Thank you! :D
     
    Back
    Top