namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;

/// <summary>
/// Heavy Metal is an ability that doubles the Pokémon's weight.
///
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Heavy_Metal_(Ability)">Bulbapedia - Heavy Metal</see>
/// </summary>
[Script(ScriptCategory.Ability, "heavy_metal")]
public class HeavyMetal : Script, IScriptModifyWeight
{
    /// <inheritdoc />
    public void ModifyWeight(ref float weight)
    {
        weight *= 2f;
    }
}