More abilities
All checks were successful
Build / Build (push) Successful in 48s

This commit is contained in:
2025-06-09 13:44:26 +02:00
parent 00005aa4bf
commit 97868ab4c6
94 changed files with 829 additions and 150 deletions

View File

@@ -7,11 +7,11 @@ public class ShellSmash : Script
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
EventBatchId eventBatchId = new();
move.User.ChangeStatBoost(Statistic.Attack, 2, true, eventBatchId);
move.User.ChangeStatBoost(Statistic.SpecialAttack, 2, true, eventBatchId);
move.User.ChangeStatBoost(Statistic.Speed, 2, true, eventBatchId);
move.User.ChangeStatBoost(Statistic.Attack, 2, true, false, eventBatchId);
move.User.ChangeStatBoost(Statistic.SpecialAttack, 2, true, false, eventBatchId);
move.User.ChangeStatBoost(Statistic.Speed, 2, true, false, eventBatchId);
eventBatchId = new EventBatchId();
move.User.ChangeStatBoost(Statistic.Defense, -1, true, eventBatchId);
move.User.ChangeStatBoost(Statistic.SpecialDefense, -1, true, eventBatchId);
move.User.ChangeStatBoost(Statistic.Defense, -1, true, false, eventBatchId);
move.User.ChangeStatBoost(Statistic.SpecialDefense, -1, true, false, eventBatchId);
}
}