This commit is contained in:
@@ -3,7 +3,7 @@ using PkmnLib.Plugin.Gen7.Scripts.Utils;
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
||||
|
||||
[Script(ScriptCategory.Pokemon, "autotomize")]
|
||||
public class AutotomizeEffect : Script, IBatonPassException, IScriptStack
|
||||
public class AutotomizeEffect : Script, IBatonPassException, IScriptStack, IScriptModifyWeight
|
||||
{
|
||||
public int Stacks { get; private set; } = 1;
|
||||
|
||||
@@ -14,7 +14,7 @@ public class AutotomizeEffect : Script, IBatonPassException, IScriptStack
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void ModifyWeight(ref float weight)
|
||||
public void ModifyWeight(ref float weight)
|
||||
{
|
||||
weight -= 100f * Stacks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user