12 lines
360 B
C#
12 lines
360 B
C#
namespace PkmnLib.Plugin.Gen7.Scripts.Moves;
|
|
|
|
[Script(ScriptCategory.Move, "swagger")]
|
|
public class Swagger : Script
|
|
{
|
|
/// <inheritdoc />
|
|
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
|
{
|
|
target.ChangeStatBoost(Statistic.Attack, 2, false);
|
|
target.Volatile.Add(new Pokemon.Confusion());
|
|
}
|
|
} |