Deukhoofd 1579d46671
All checks were successful
Build / Build (push) Successful in 49s
More abilities
2025-06-09 15:24:37 +02:00

21 lines
461 B
C#

using PkmnLib.Plugin.Gen7.Scripts.Utils;
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
[Script(ScriptCategory.Pokemon, "autotomize")]
public class AutotomizeEffect : Script, IBatonPassException
{
public int Stacks { get; private set; } = 1;
/// <inheritdoc />
public override void Stack()
{
Stacks++;
}
/// <inheritdoc />
public override void ModifyWeight(ref float weight)
{
weight -= 100f * Stacks;
}
}