94 files changed
+829
-150
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user