This commit is contained in:
16
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/LightMetal.cs
Normal file
16
Plugins/PkmnLib.Plugin.Gen7/Scripts/Abilities/LightMetal.cs
Normal file
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user