namespace PkmnLib.Plugin.Gen7.Scripts.Moves;

[Script(ScriptCategory.Move, "psyshock")]
public class Psyshock : Script, IScriptChangeDefensiveStatValue
{
    /// <inheritdoc />
    public void ChangeDefensiveStatValue(IExecutingMove move, IPokemon target, byte hit, uint offensiveStat,
        ImmutableStatisticSet<uint> targetStats, Statistic stat, ref uint value)
    {
        value = targetStats.Defense;
    }
}