14 lines
393 B
C#
14 lines
393 B
C#
|
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)
|
||
|
{
|
||
|
move.User.ChangeStatBoost(Statistic.Attack, 1, true);
|
||
|
move.User.ChangeStatBoost(Statistic.Defense, 1, true);
|
||
|
}
|
||
|
}
|