Deukhoofd 5961bb746e
All checks were successful
Build / Build (push) Successful in 51s
Even more abilities
2025-06-14 13:24:38 +02:00

17 lines
548 B
C#

namespace PkmnLib.Plugin.Gen7.Scripts.Abilities;
/// <summary>
/// Shield Dust is an ability that blocks the additional effects of attacks taken.
///
/// <see href="https://bulbapedia.bulbagarden.net/wiki/Shield_Dust_(Ability)">Bulbapedia - Shield Dust</see>
/// </summary>
[Script(ScriptCategory.Ability, "shield_dust")]
public class ShieldDust : Script
{
/// <inheritdoc />
public override void PreventIncomingSecondaryEffect(IExecutingMove move, IPokemon target, byte hit,
ref bool prevent)
{
prevent = true;
}
}