12 lines
293 B
C#
12 lines
293 B
C#
|
namespace PkmnLib.Plugin.Gen7.Scripts.Pokemon;
|
||
|
|
||
|
[Script(ScriptCategory.Pokemon, "flinch_effect")]
|
||
|
public class FlinchEffect : Script
|
||
|
{
|
||
|
/// <inheritdoc />
|
||
|
public override void PreventMove(IExecutingMove move, ref bool prevent)
|
||
|
{
|
||
|
prevent = true;
|
||
|
RemoveSelf();
|
||
|
}
|
||
|
}
|