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,9 +1,9 @@
|
||||
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
||||
|
||||
[Script(ScriptCategory.Move, "first_impression")]
|
||||
public class FirstImpression : Script
|
||||
public class FirstImpression : Script, IScriptStopBeforeMove
|
||||
{
|
||||
public override void StopBeforeMove(IExecutingMove move, ref bool stop)
|
||||
public void StopBeforeMove(IExecutingMove move, ref bool stop)
|
||||
{
|
||||
var battleData = move.User.BattleData;
|
||||
if (battleData == null)
|
||||
|
||||
Reference in New Issue
Block a user