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

@@ -24,10 +24,10 @@ public class ChangeAllTargetStats : Script
/// <inheritdoc />
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
target.ChangeStatBoost(Statistic.Attack, _amount, target == move.User);
target.ChangeStatBoost(Statistic.Defense, _amount, target == move.User);
target.ChangeStatBoost(Statistic.SpecialAttack, _amount, target == move.User);
target.ChangeStatBoost(Statistic.SpecialDefense, _amount, target == move.User);
target.ChangeStatBoost(Statistic.Speed, _amount, target == move.User);
target.ChangeStatBoost(Statistic.Attack, _amount, target == move.User, false);
target.ChangeStatBoost(Statistic.Defense, _amount, target == move.User, false);
target.ChangeStatBoost(Statistic.SpecialAttack, _amount, target == move.User, false);
target.ChangeStatBoost(Statistic.SpecialDefense, _amount, target == move.User, false);
target.ChangeStatBoost(Statistic.Speed, _amount, target == move.User, false);
}
}