More move effects

This commit is contained in:
2025-03-02 14:03:51 +01:00
parent 9b0ac36597
commit c0bc905c46
40 changed files with 804 additions and 46 deletions

View File

@@ -20,6 +20,12 @@ public class Bounce : Script
prevent = true;
}
/// <inheritdoc />
public override void OnBeforeMove(IExecutingMove move)
{
move.User.Volatile.Remove(ScriptUtils.ResolveName<ChargeBounceEffect>());
}
/// <inheritdoc />
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
@@ -31,6 +37,5 @@ public class Bounce : Script
{
target.SetStatus("paralyzed");
}
move.User.Volatile.Remove(ScriptUtils.ResolveName<ChargeBounceEffect>());
}
}