PkmnLib.NET/Plugins/PkmnLib.Plugin.Gen7/Scripts/Moves/ChipAway.cs

13 lines
457 B
C#
Raw Normal View History

2025-01-27 11:18:48 +00:00
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "chip_away")]
public class ChipAway : Script
{
/// <inheritdoc />
2025-02-01 14:00:22 +00:00
public override void BypassDefensiveStatBoosts(IExecutingMove move, IPokemon target, byte hit, ref bool bypass) =>
2025-01-27 11:18:48 +00:00
bypass = true;
2025-02-01 14:00:22 +00:00
/// <inheritdoc />
public override void BypassEvasionStatBoosts(IExecutingMove move, IPokemon target, byte hitIndex, ref bool bypass)
=> bypass = true;
2025-01-27 11:18:48 +00:00
}