More abilities, refactor IPokemon.SetStatus to pass pokemon that caused the status change
All checks were successful
Build / Build (push) Successful in 50s
All checks were successful
Build / Build (push) Successful in 50s
This commit is contained in:
@@ -6,7 +6,7 @@ public class ToxicThread : Script
|
||||
/// <inheritdoc />
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
target.SetStatus(ScriptUtils.ResolveName<Status.Poisoned>(), false);
|
||||
target.SetStatus(ScriptUtils.ResolveName<Status.Poisoned>(), move.User);
|
||||
target.ChangeStatBoost(Statistic.Speed, -1, false, false);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user