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