More abilities
Build / Build (push) Successful in 48s

This commit is contained in:
Deukhoofd committed 2025-06-09 13:44:26 +02:00
1 parent 00005aa4bf
commit 97868ab4c6
94 files changed
+829 -150

No files matched your search

@@ -7,7 +7,7 @@ public class StrengthSap : Script
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
{
var attack = target.BoostedStats.Attack;
if (!target.ChangeStatBoost(Statistic.Attack, -1, false))
if (!target.ChangeStatBoost(Statistic.Attack, -1, false, false))
{
move.GetHitData(target, hit).Fail();
return;