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

This commit is contained in:
Deukhoofd committed 2025-06-09 18:16:29 +02:00
1 parent e68491e72a
commit 4326794611
26 files changed
+297 -26

No files matched your search

@@ -0,0 +1,16 @@
namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
/// <summary>
/// Light Metal is an ability that halves the Pokémon's weight.
///
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Light_Metal_(Ability)">Bulbapedia - Light Metal</see>
/// </summary>
[Script(ScriptCategory.Ability, "light_metal")]
public class LightMetal : Script
{
/// <inheritdoc />
public override void ModifyWeight(ref float weight)
{
weight *= 0.5f;
}
}