namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
[Script(ScriptCategory.Move, "toxic_thread")]
public class ToxicThread : Script
{
///
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
target.SetStatus(ScriptUtils.ResolveName(), move.User);
target.ChangeStatBoost(Statistic.Speed, -1, false, false);
}
}