More abilities
Build / Build (push) Successful in 49s

This commit is contained in:
Deukhoofd committed 2025-06-09 15:24:37 +02:00
1 parent 074f92bfc0
commit 1579d46671
23 files changed
+480 -41

No files matched your search

@@ -0,0 +1,16 @@
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
{
/// <inheritdoc />
public override void ModifyWeight(ref float weight)
{
weight *= 2f;
}
}