This commit is contained in:
@@ -7,7 +7,7 @@ public class Superpower : Script
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
EventBatchId eventBatch = new();
|
||||
move.User.ChangeStatBoost(Statistic.Attack, -1, true, eventBatch);
|
||||
move.User.ChangeStatBoost(Statistic.Defense, -1, true, eventBatch);
|
||||
move.User.ChangeStatBoost(Statistic.Attack, -1, true, false, eventBatch);
|
||||
move.User.ChangeStatBoost(Statistic.Defense, -1, true, false, eventBatch);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user