namespace PkmnLib.Plugin.Gen7.Scripts.Abilities; /// /// Slush Rush is an ability that doubles the Pokémon's Speed during hail. /// /// Bulbapedia - Slush Rush /// [Script(ScriptCategory.Ability, "slush_rush")] public class SlushRush : Script { /// public override void ChangeSpeed(ITurnChoice choice, ref uint speed) { if (choice.User.BattleData?.Battle.WeatherName == ScriptUtils.ResolveName()) { speed *= 2; } } }