2025-01-26 10:55:13 +00:00
|
|
|
using PkmnLib.Static;
|
|
|
|
|
|
|
|
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
|
|
|
|
[Script(ScriptCategory.Move, "bulk_up")]
|
|
|
|
public class BulkUp : Script
|
|
|
|
{
|
|
|
|
/// <inheritdoc />
|
|
|
|
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
|
|
|
{
|
2025-01-27 11:18:48 +00:00
|
|
|
EventBatchId eventBatchId = new();
|
|
|
|
move.User.ChangeStatBoost(Statistic.Attack, 1, true, eventBatchId);
|
|
|
|
move.User.ChangeStatBoost(Statistic.Defense, 1, true, eventBatchId);
|
2025-01-26 10:55:13 +00:00
|
|
|
}
|
|
|
|
}
|