Refactor move classes to implement respective interfaces for better structure
All checks were successful
Build / Build (push) Successful in 52s
All checks were successful
Build / Build (push) Successful in 52s
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Side;
|
||||
|
||||
[Script(ScriptCategory.Side, "tailwind")]
|
||||
public class TailwindEffect : Script
|
||||
public class TailwindEffect : Script, IScriptChangeSpeed
|
||||
{
|
||||
private int _duration = 3;
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void ChangeSpeed(ITurnChoice choice, ref uint speed)
|
||||
public void ChangeSpeed(ITurnChoice choice, ref uint speed)
|
||||
{
|
||||
speed *= 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user