Make another pass through moves file
All checks were successful
Build / Build (push) Successful in 47s

This commit is contained in:
2025-05-18 14:15:37 +02:00
parent 9ff4745c0a
commit cbd4340b13
11 changed files with 322 additions and 17 deletions

View File

@@ -0,0 +1,16 @@
using PkmnLib.Plugin.Gen7.Scripts.Pokemon;
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "feint")]
public class Feint : Script
{
/// <inheritdoc />
public override void OnBeforeHit(IExecutingMove move, IPokemon target, byte hitIndex)
{
if (target.Volatile.Contains<ProtectionEffectScript>())
{
target.Volatile.Remove<ProtectionEffectScript>();
}
}
}