13 lines
457 B
C#
13 lines
457 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
[Script(ScriptCategory.Move, "chip_away")]
|
|
public class ChipAway : Script
|
|
{
|
|
/// <inheritdoc />
|
|
public override void BypassDefensiveStatBoosts(IExecutingMove move, IPokemon target, byte hit, ref bool bypass) =>
|
|
bypass = true;
|
|
|
|
/// <inheritdoc />
|
|
public override void BypassEvasionStatBoosts(IExecutingMove move, IPokemon target, byte hitIndex, ref bool bypass)
|
|
=> bypass = true;
|
|
} |