- 10
- Posts
- 9
- Years
- Seen Mar 14, 2025
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.
Any advice/comments on what I should be doing would be welcome! Thank you! :D
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