14 lines
360 B
C#
14 lines
360 B
C#
|
using PkmnLib.Static.Moves;
|
||
|
|
||
|
namespace PkmnLib.Plugin.Gen7.Scripts.Side;
|
||
|
|
||
|
[Script(ScriptCategory.Side, "crafty_shield")]
|
||
|
public class CraftyShieldEffect : Script
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
public override void StopBeforeMove(IExecutingMove move, ref bool stop)
|
||
|
{
|
||
|
if (move.UseMove.Category == MoveCategory.Status)
|
||
|
stop = true;
|
||
|
}
|
||
|
}
|