Deukhoofd 24712fbb0d
All checks were successful
Build / Build (push) Successful in 48s
More abilities
2025-06-13 15:39:08 +02:00

18 lines
577 B
C#

namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
/// <summary>
/// Pressure is an ability that makes the opponent use more PP when using moves against the Pokémon.
///
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Pressure_(Ability)">Bulbapedia - Pressure</see>
/// </summary>
[Script(ScriptCategory.Ability, "pressure")]
public class Pressure : Script
{
/// <inheritdoc />
public override void ModifyPPUsedForIncomingMove(IExecutingMove executingMove, ref byte ppUsed)
{
if (ppUsed == byte.MaxValue)
return;
ppUsed++;
}
}