namespace PkmnLib.Plugin.Gen7.Scripts.Side;
public class QuickGuardEffect : Script
{
///
///
public override void IsInvulnerableToMove(IExecutingMove move, IPokemon target, ref bool invulnerable)
{
if (move.UseMove.Priority > 0)
invulnerable = true;
}
///
public override void OnEndTurn(IScriptSource owner, IBattle battle)
{
RemoveSelf();
}
}